34#ifndef SBL_HW_HAL_AUDIO_DRIVER_HPP_
35#define SBL_HW_HAL_AUDIO_DRIVER_HPP_
53 template<
typename Driver>
56 Driver::set_callback(cb);
69 template<
typename Driver>
72 Driver::set_callback(cb);
83 template<
typename Driver>
void start(AudioCallback cb)
Configure audio with defaults, set callback, and start streaming.
void stop()
Stop audio streaming.
sbl::hal::audio::AudioCallback AudioCallback
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.
Common types for SBL hardware abstraction.