|
Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Audio common types and configuration. More...
Audio common types and configuration.
Platform-agnostic audio types shared across the HAL layer. These types are used by both the HAL interface and platform implementations.
Audio drivers (SAI, I2S, etc.) include this header and use these types in their public interface, ensuring a consistent contract across platforms.
Definition in file types.hpp.
#include <cstdint>Go to the source code of this file.
Classes | |
| struct | sbl::hal::audio::AudioConfig |
| Audio stream configuration. More... | |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::hal |
| Hardware abstraction: handles and convenience layers over the drivers. | |
| namespace | sbl::hal::audio |
| Audio streams and the sample clock. | |
Typedefs | |
| using | sbl::hal::audio::Sample = int32_t |
| using | sbl::hal::audio::AudioCallback = void(*)(int32_t *tx_buf, const int32_t *rx_buf, uint16_t frames) |
| Audio processing callback (called from ISR context) | |
Enumerations | |
| enum class | sbl::hal::audio::SaiLayout { sbl::hal::audio::A_TX_B_RX , sbl::hal::audio::A_RX_B_TX } |
| SAI block direction layout. More... | |