Struct SYN_Audio¶
Audio Playback Engine Instance State.
#include <syn_audio.h>
Public Attributes¶
| Type | Name |
|---|---|
| volatile uint8_t | active_half |
| SYN_Audio_Config | cfg |
| volatile size_t | fill_pos |
| uint32_t | frames_played |
| volatile bool | running |
| uint32_t | underrun_cnt |
Public Attributes Documentation¶
variable active_half¶
Active half buffer index (0 or 1)
variable cfg¶
Copy of active configuration
variable fill_pos¶
Write position in current half buffer
variable frames_played¶
Total buffer halves submitted
variable running¶
True when audio streaming is active
variable underrun_cnt¶
Total buffer underrun count
The documentation for this class was generated from the following file src/syntropic/audio/syn_audio.h