30#ifndef SBL_HAL_AUDIO_DRIVER_HPP_
31#define SBL_HAL_AUDIO_DRIVER_HPP_
49 template<
typename Driver>
52 Driver::set_callback(cb);
65 template<
typename Driver>
68 Driver::set_callback(cb);
79 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 functionality.
Audio stream configuration.
Common types for SBL hardware abstraction.