Struct SYN_Audio_Mixer_Channel¶
ClassList > SYN_Audio_Mixer_Channel
State for a single mixer input channel.
#include <syn_audio_mixer.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active |
| const int16_t * | buf |
| bool | loop |
| size_t | pos |
| size_t | sample_count |
| uint16_t | volume_q15 |
Public Attributes Documentation¶
variable active¶
True if channel is actively playing
variable buf¶
Pointer to PCM sample array
variable loop¶
True to loop playback continuously
variable pos¶
Current read index
variable sample_count¶
Total sample count in buffer
variable volume_q15¶
Channel gain (Q15 fixed-point, 32768 = 1.0)
The documentation for this class was generated from the following file src/syntropic/audio/syn_audio_mixer.h