Skip to content

Struct daisy::AudioHandle::Config

ClassList > daisy > AudioHandle > Config

More...

  • #include <audio.h>

Public Attributes

Type Name
size_t blocksize = 48
float output_compensation = 1.[**f**](classdaisy_1_1Apds9960.md)
float postgain = 1.[**f**](classdaisy_1_1Apds9960.md)
SaiHandle::Config::SampleRate samplerate = SaiHandle::Config::SampleRate::SAI\_48KHZ

Detailed Description

Manually configurable details about the Audio Engine TODO: Figure out how to get samplerate in here.

Public Attributes Documentation

variable blocksize

size_t daisy::AudioHandle::Config::blocksize;

number of samples to process per callback Sample rate of audio


variable output_compensation

float daisy::AudioHandle::Config::output_compensation;

factor for additional one-sided compensation to audio path for hardware that may have unequal input/output ranges


variable postgain

float daisy::AudioHandle::Config::postgain;

factor for adjustment before and after callback for hardware that may have extra headroom


variable samplerate

SaiHandle::Config::SampleRate daisy::AudioHandle::Config::samplerate;


The documentation for this class was generated from the following file external-docs/libDaisy/src/hid/audio.h