SamplePlayback struct

A sample playback handle to be used by the engine.


Public variables

sample_t** buf
A pointer to the original buffer.
channels_t channels
The number of channels.
long buf_size
The number of frames in the buffer.
long offset
The current offset in the buffer.
float volume
The volume to play the sample at (ratio from 0.0 to 2.0, where 1.0 is the normal volume).
nframes_t start_offset
Offset relative to the current processing cycle to start playing the sample.
const char* file
Source file initialized from.
const char* func
Function initialized from.
int lineno
Line no initialized from.