39#ifndef SBL_HW_HAL_AUDIO_DRIVER_HPP_
40#define SBL_HW_HAL_AUDIO_DRIVER_HPP_
58template<
typename Driver>
59inline void start(AudioCallback cb) {
61 Driver::set_callback(cb);
74template<
typename Driver>
77 Driver::set_callback(cb);
88template<
typename Driver>
void start(AudioCallback cb)
Configure audio with defaults, set callback, and start streaming.
void stop()
Stop audio streaming.
void(*)(int32_t *tx_buf, const int32_t *rx_buf, uint16_t frames) AudioCallback
Audio processing callback (called from ISR context)
Root namespace for all Sound Byte Libs code.
Audio stream configuration.