Information on the module guide itself and the associated resources and known issues are available here.
The Audio Playback Framework module provides high-level APIs for audio playback applications and handles the synchronization needed to play 16-bit pulse-code modulation (PCM) samples. The Audio Playback Framework uses the audio interface (DAC or I2S), timer (AGT or GPT) and data-transfer (DMA or DTC) peripherals on a Synergy MCU. A user-defined callback can be created to respond to the need for additional data.
The Audio Playback Framework module supports the following features:
- Plays long buffers by splitting the data into manageable chunks.
- Repeats playback until a ThreadX timeout (for repeated audio like sine wave tones or looped background music).
- Requests next data using callback after last buffer playback begins.
- Software volume control.
- Pause and resume functions.
- Scaling, for example to move signed 16-bit PCM data into range of the unsigned 12-bit DAC.
- Basic mixing for multiple streams.
The Audio Playback Framework is used as the higher level module for the DAC and I2S hardware implementations. Refer to these module guides for the details on and resources for the Audio Playback Framework.
Audio Playback DAC Module Guide: Available here.
Audio Playback I2S Module Guide: Not yet available.
|SSP 1.2.0 and above|