Skip to content

Struct SYN_Audio

ClassList > 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

volatile uint8_t SYN_Audio::active_half;

Active half buffer index (0 or 1)


variable cfg

SYN_Audio_Config SYN_Audio::cfg;

Copy of active configuration


variable fill_pos

volatile size_t SYN_Audio::fill_pos;

Write position in current half buffer


variable frames_played

uint32_t SYN_Audio::frames_played;

Total buffer halves submitted


variable running

volatile bool SYN_Audio::running;

True when audio streaming is active


variable underrun_cnt

uint32_t SYN_Audio::underrun_cnt;

Total buffer underrun count



The documentation for this class was generated from the following file src/syntropic/audio/syn_audio.h