RetroArch
Functions | Variables
rwebaudio.c File Reference
#include <stdlib.h>
#include <unistd.h>
#include <boolean.h>
#include "../audio_driver.h"
Include dependency graph for rwebaudio.c:

Functions

unsigned RWebAudioSampleRate (void)
 
voidRWebAudioInit (unsigned latency)
 
ssize_t RWebAudioWrite (const void *buf, size_t size)
 
bool RWebAudioStop (void)
 
bool RWebAudioStart (void)
 
void RWebAudioSetNonblockState (bool state)
 
void RWebAudioFree (void)
 
size_t RWebAudioWriteAvail (void)
 
size_t RWebAudioBufferSize (void)
 
static void rwebaudio_free (void *data)
 
static voidrwebaudio_init (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
 
static ssize_t rwebaudio_write (void *data, const void *buf, size_t size)
 
static bool rwebaudio_stop (void *data)
 
static void rwebaudio_set_nonblock_state (void *data, bool state)
 
static bool rwebaudio_alive (void *data)
 
static bool rwebaudio_start (void *data, bool is_shutdown)
 
static size_t rwebaudio_write_avail (void *data)
 
static size_t rwebaudio_buffer_size (void *data)
 
static bool rwebaudio_use_float (void *data)
 

Variables

static bool rwebaudio_is_paused
 
audio_driver_t audio_rwebaudio
 

Function Documentation

◆ rwebaudio_alive()

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

◆ rwebaudio_buffer_size()

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

◆ rwebaudio_free()

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

◆ rwebaudio_init()

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

◆ rwebaudio_set_nonblock_state()

static void rwebaudio_set_nonblock_state ( void data,
bool  state 
)
static
Here is the call graph for this function:

◆ rwebaudio_start()

static bool rwebaudio_start ( void data,
bool  is_shutdown 
)
static
Here is the call graph for this function:

◆ rwebaudio_stop()

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

◆ rwebaudio_use_float()

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

◆ rwebaudio_write()

static ssize_t rwebaudio_write ( void data,
const void buf,
size_t  size 
)
static
Here is the call graph for this function:

◆ rwebaudio_write_avail()

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

◆ RWebAudioBufferSize()

size_t RWebAudioBufferSize ( void  )
Here is the caller graph for this function:

◆ RWebAudioFree()

void RWebAudioFree ( void  )
Here is the caller graph for this function:

◆ RWebAudioInit()

void* RWebAudioInit ( unsigned  latency)
Here is the caller graph for this function:

◆ RWebAudioSampleRate()

unsigned RWebAudioSampleRate ( void  )
Here is the caller graph for this function:

◆ RWebAudioSetNonblockState()

void RWebAudioSetNonblockState ( bool  state)
Here is the caller graph for this function:

◆ RWebAudioStart()

bool RWebAudioStart ( void  )
Here is the caller graph for this function:

◆ RWebAudioStop()

bool RWebAudioStop ( void  )
Here is the caller graph for this function:

◆ RWebAudioWrite()

ssize_t RWebAudioWrite ( const void buf,
size_t  size 
)
Here is the caller graph for this function:

◆ RWebAudioWriteAvail()

size_t RWebAudioWriteAvail ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ audio_rwebaudio

audio_driver_t audio_rwebaudio
Initial value:
= {
"rwebaudio",
}
static void * rwebaudio_init(const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
Definition: rwebaudio.c:40
static ssize_t rwebaudio_write(void *data, const void *buf, size_t size)
Definition: rwebaudio.c:54
static void rwebaudio_set_nonblock_state(void *data, bool state)
Definition: rwebaudio.c:67
static bool rwebaudio_use_float(void *data)
Definition: rwebaudio.c:98
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void rwebaudio_free(void *data)
Definition: rwebaudio.c:35
static bool rwebaudio_start(void *data, bool is_shutdown)
Definition: rwebaudio.c:79
static size_t rwebaudio_buffer_size(void *data)
Definition: rwebaudio.c:92
static bool rwebaudio_stop(void *data)
Definition: rwebaudio.c:60
static size_t rwebaudio_write_avail(void *data)
Definition: rwebaudio.c:86
static bool rwebaudio_alive(void *data)
Definition: rwebaudio.c:73

◆ rwebaudio_is_paused

bool rwebaudio_is_paused
static