RetroArch
Functions | Variables
nullaudio.c File Reference
#include "../audio_driver.h"
#include "../../verbosity.h"
Include dependency graph for nullaudio.c:
This graph shows which files directly or indirectly include this file:

Functions

static voidnull_audio_init (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
 
static void null_audio_free (void *data)
 
static ssize_t null_audio_write (void *data, const void *buf, size_t size)
 
static bool null_audio_stop (void *data)
 
static bool null_audio_alive (void *data)
 
static bool null_audio_start (void *data, bool is_shutdown)
 
static void null_audio_set_nonblock_state (void *data, bool state)
 
static bool null_audio_use_float (void *data)
 
static size_t null_audio_write_avail (void *data)
 

Variables

audio_driver_t audio_null
 

Function Documentation

◆ null_audio_alive()

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

◆ null_audio_free()

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

◆ null_audio_init()

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

◆ null_audio_set_nonblock_state()

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

◆ null_audio_start()

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

◆ null_audio_stop()

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

◆ null_audio_use_float()

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

◆ null_audio_write()

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

◆ null_audio_write_avail()

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

Variable Documentation

◆ audio_null

audio_driver_t audio_null
Initial value:
= {
"null",
}
static void null_audio_set_nonblock_state(void *data, bool state)
Definition: nullaudio.c:64
static void null_audio_free(void *data)
Definition: nullaudio.c:33
static bool null_audio_alive(void *data)
Definition: nullaudio.c:52
static size_t null_audio_write_avail(void *data)
Definition: nullaudio.c:76
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static bool null_audio_start(void *data, bool is_shutdown)
Definition: nullaudio.c:58
static void * null_audio_init(const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
Definition: nullaudio.c:20
static bool null_audio_use_float(void *data)
Definition: nullaudio.c:70
static ssize_t null_audio_write(void *data, const void *buf, size_t size)
Definition: nullaudio.c:38
static bool null_audio_stop(void *data)
Definition: nullaudio.c:46