RetroArch
Functions
audio_thread_wrapper.h File Reference
#include <boolean.h>
#include "audio_driver.h"
Include dependency graph for audio_thread_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool audio_init_thread (const audio_driver_t **out_driver, void **out_data, const char *device, unsigned out_rate, unsigned *new_rate, unsigned latency, unsigned block_frames, const audio_driver_t *driver)
 

Function Documentation

◆ audio_init_thread()

bool audio_init_thread ( const audio_driver_t **  out_driver,
void **  out_data,
const char *  device,
unsigned  audio_out_rate,
unsigned *  new_rate,
unsigned  latency,
unsigned  block_frames,
const audio_driver_t drv 
)

audio_init_thread: : output driver : output audio data : audio device (optional) : output audio rate : new output audio rate : audio latency : audio driver

Starts a audio driver in a new thread. Access to audio driver will be mediated through this driver. This driver interfaces with audio callback and is only used in that case.

Returns: true (1) if successful, otherwise false (0).

audio_init_thread: : output driver : output audio data : audio device (optional) : output audio rate : audio latency : audio driver

Starts a audio driver in a new thread. Access to audio driver will be mediated through this driver. This driver interfaces with audio callback and is only used in that case.

Returns: true (1) if successful, otherwise false (0).

Here is the call graph for this function:
Here is the caller graph for this function: