Audio Engine Handle.
Definition audio.h:23
Result Start(AudioCallback callback)
void(* AudioCallback)(InputBuffer in, OutputBuffer out, size_t size)
Definition audio.h:65
void(* InterleavingAudioCallback)(InterleavingInputBuffer in, InterleavingOutputBuffer out, size_t size)
Definition audio.h:83
float * InterleavingOutputBuffer
Definition audio.h:78
const float * InterleavingInputBuffer
Definition audio.h:73
Result ChangeCallback(InterleavingAudioCallback callback)
Result SetSampleRate(SaiHandle::Config::SampleRate samplerate)
~AudioHandle()
Definition audio.h:88
const Config & GetConfig() const
Result SetBlockSize(size_t size)
AudioHandle(const AudioHandle &other)=default
Result Start(InterleavingAudioCallback callback)
size_t GetChannels() const
float ** OutputBuffer
Definition audio.h:60
AudioHandle()
Definition audio.h:87
const float *const * InputBuffer
Definition audio.h:55
Result Init(const Config &config, SaiHandle sai)
AudioHandle & operator=(const AudioHandle &other)=default
Result SetOutputCompensation(float val)
Result ChangeCallback(AudioCallback callback)
Result Init(const Config &config, SaiHandle sai1, SaiHandle sai2)
Result SetPostGain(float val)
Result
Definition audio.h:46
Definition leddriver.h:33
Hardware defines and helpers for daisy field platform.
Definition index.h:2
float output_compensation
Definition audio.h:42
SaiHandle::Config::SampleRate samplerate
Definition audio.h:34
size_t blocksize
Definition audio.h:30
float postgain
Definition audio.h:37
SampleRate
Definition sai.h:58