RetroArch
Classes | Functions | Variables
roar.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
#include <roaraudio.h>
#include <boolean.h>
#include "../audio_driver.h"
#include "../../verbosity.h"
Include dependency graph for roar.c:

Classes

struct  roar_t
 

Functions

static voidra_init (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
 
static ssize_t ra_write (void *data, const void *buf, size_t size)
 
static bool ra_stop (void *data)
 
static bool ra_alive (void *data)
 
static void ra_set_nonblock_state (void *data, bool state)
 
static bool ra_start (void *data, bool is_shutdown)
 
static void ra_free (void *data)
 
static bool ra_use_float (void *data)
 
static size_t ra_write_avail (void *data)
 

Variables

audio_driver_t audio_roar
 

Function Documentation

◆ ra_alive()

static bool ra_alive ( void data)
static

◆ ra_free()

static void ra_free ( void data)
static
Here is the call graph for this function:

◆ ra_init()

static void* ra_init ( const char *  device,
unsigned  rate,
unsigned  latency,
unsigned  block_frames,
unsigned *  new_rate 
)
static
Here is the call graph for this function:

◆ ra_set_nonblock_state()

static void ra_set_nonblock_state ( void data,
bool  state 
)
static

◆ ra_start()

static bool ra_start ( void data,
bool  is_shutdown 
)
static

◆ ra_stop()

static bool ra_stop ( void data)
static

◆ ra_use_float()

static bool ra_use_float ( void data)
static

◆ ra_write()

static ssize_t ra_write ( void data,
const void buf,
size_t  size 
)
static

◆ ra_write_avail()

static size_t ra_write_avail ( void data)
static
Here is the call graph for this function:

Variable Documentation

◆ audio_roar

audio_driver_t audio_roar
Initial value:
= {
"roar",
}
static bool ra_start(void *data, bool is_shutdown)
Definition: roar.c:113
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void ra_set_nonblock_state(void *data, bool state)
Definition: roar.c:105
static bool ra_stop(void *data)
Definition: roar.c:89
static void * ra_init(const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
Definition: roar.c:36
static bool ra_use_float(void *data)
Definition: roar.c:128
static void ra_free(void *data)
Definition: roar.c:121
static ssize_t ra_write(void *data, const void *buf, size_t size)
Definition: roar.c:61
static bool ra_alive(void *data)
Definition: roar.c:97
static size_t ra_write_avail(void *data)
Definition: roar.c:133