Typedefs

audio.h File Reference

Functions for audio driver output. More...

Typedefs

typedef int(* fluid_audio_func_t )(void *data, int len, int nin, float **in, int nout, float **out)
 Callback function type used with new_fluid_audio_driver2() to allow for custom user audio processing before the audio is sent to the driver.

Detailed Description

Functions for audio driver output.


Typedef Documentation

typedef int(* fluid_audio_func_t)(void *data, int len, int nin, float **in, int nout, float **out)

Callback function type used with new_fluid_audio_driver2() to allow for custom user audio processing before the audio is sent to the driver.

This function is responsible for rendering the audio to the buffers.

Parameters:
data The user data parameter as passed to new_fluid_audio_driver2().
len Length of the audio in frames.
nin Count of buffers in 'in'
in Not used currently
nout Count of arrays in 'out' (i.e., channel count)
out Output buffers, one for each channel
Returns:
Should return 0 on success, non-zero if an error occured.