RetroArch
Public Attributes | List of all members
audio_driver Struct Reference

#include <audio_driver.h>

Collaboration diagram for audio_driver:
[legend]

Public Attributes

void *(* init )(const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)
 
ssize_t(* write )(void *data, const void *buf, size_t size)
 
bool(* stop )(void *data)
 
bool(* start )(void *data, bool is_shutdown)
 
bool(* alive )(void *data)
 
void(* set_nonblock_state )(void *data, bool toggle)
 
void(* free )(void *data)
 
bool(* use_float )(void *data)
 
const char * ident
 
void *(* device_list_new )(void *data)
 
void(* device_list_free )(void *data, void *data2)
 
size_t(* write_avail )(void *data)
 
size_t(* buffer_size )(void *data)
 

Member Data Documentation

◆ alive

bool(* audio_driver::alive) (void *data)

◆ buffer_size

size_t(* audio_driver::buffer_size) (void *data)

◆ device_list_free

void(* audio_driver::device_list_free) (void *data, void *data2)

◆ device_list_new

void*(* audio_driver::device_list_new) (void *data)

◆ free

void(* audio_driver::free) (void *data)

◆ ident

const char* audio_driver::ident

◆ init

void*(* audio_driver::init) (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate)

◆ set_nonblock_state

void(* audio_driver::set_nonblock_state) (void *data, bool toggle)

◆ start

bool(* audio_driver::start) (void *data, bool is_shutdown)

◆ stop

bool(* audio_driver::stop) (void *data)

◆ use_float

bool(* audio_driver::use_float) (void *data)

◆ write

ssize_t(* audio_driver::write) (void *data, const void *buf, size_t size)

◆ write_avail

size_t(* audio_driver::write_avail) (void *data)

The documentation for this struct was generated from the following file: