communication structure between output drivers and renderer More...
Data Fields | |
unsigned char * | buffer |
destination for mixed sound More... | |
int | channels |
number of output channels More... | |
int | framepos |
position of dma cursor More... | |
int | frames |
frames in buffer 1 frame = channels samples More... | |
int | samplebits |
bits per sample More... | |
int | speed |
sample rate More... | |
int | submission_chunk |
don't mix less than this # More... | |
void(* | xfer )(portable_samplepair_t *paintbuffer, int count, float volume) |
Transfer mixed samples to the output. More... | |
void * | xfer_data |
Optional data for the xfer function. More... | |
communication structure between output drivers and renderer
unsigned char* buffer |
destination for mixed sound
int channels |
number of output channels
int framepos |
position of dma cursor
int frames |
frames in buffer 1 frame = channels samples
int samplebits |
bits per sample
int speed |
sample rate
int submission_chunk |
don't mix less than this #
void(* xfer)(portable_samplepair_t *paintbuffer, int count, float volume) |
Transfer mixed samples to the output.
paintbuffer | The buffer of mixed samples to be transferred. |
count | The number of sample to transfer. |
volume | The gain for the samples. |
void* xfer_data |
Optional data for the xfer function.