Abstraction layer for audio board hardware, serves as an interface between the user application and the hardware driver for specific audio board like ESP32 LyraT <../../get-started/index>
.
The API provides data structures to configure sampling rates of ADC and DAC signal conversion, data bit widths, I2C stream parameters, and selection of signal channels connected to ADC and DAC. It also contains several specific functions to e.g. initialize the audio board, :cppaudio_hal_init
, control the volume, :cppaudio_hal_get_volume
and :cppaudio_hal_set_volume
.