Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 681 Bytes

audio_hal.rst

File metadata and controls

12 lines (7 loc) · 681 Bytes

Audio HAL

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.

API Reference