![]() |
Synergy Software Package User's Manual
|
RTOS-integrated Audio Framework Interface. More...
Data Structures | |
| struct | sf_audio_playback_data_t |
| struct | sf_audio_playback_common_cfg_t |
| struct | sf_audio_playback_cfg_t |
| struct | sf_audio_playback_api_t |
| struct | sf_audio_playback_instance_t |
Macros | |
| #define | SF_AUDIO_PLAYBACK_API_VERSION_MAJOR (2U) |
| #define | SF_AUDIO_PLAYBACK_MESSAGE_WORDS ((sizeof(sf_message_payload_audio_t) + 3) / 4) |
| #define | SF_AUDIO_PLAYBACK_MAX_VOLUME (255) |
Typedefs | |
| typedef void | sf_audio_playback_common_ctrl_t |
| typedef void | sf_audio_playback_ctrl_t |
Enumerations | |
| enum | sf_audio_playback_status_t { SF_AUDIO_PLAYBACK_STATUS_STOPPED, SF_AUDIO_PLAYBACK_STATUS_PAUSED, SF_AUDIO_PLAYBACK_STATUS_PLAYING, SF_AUDIO_PLAYBACK_STATUS_WAITING } |
RTOS-integrated Audio Framework Interface.
The Audio Interface is a ThreadX-aware Audio Framework Interface. The Interface is implemented by the Audio Framework using the Timer driver, the Transfer driver, and a choice of the following drivers for playback: DAC, PWM (to be implemented), or I2S (to be implemented).
Interfaces used:
Related SSP architecture topics:
Audio Framework Interface description: Audio Playback Framework
| #define SF_AUDIO_PLAYBACK_API_VERSION_MAJOR (2U) |
Version of the API defined in this file
| #define SF_AUDIO_PLAYBACK_MAX_VOLUME (255) |
Macro defining the maximum volume.
| #define SF_AUDIO_PLAYBACK_MESSAGE_WORDS ((sizeof(sf_message_payload_audio_t) + 3) / 4) |
Audio playback message size in 4 byte words, rounded up.
| typedef void sf_audio_playback_common_ctrl_t |
Audio playback common control block. Allocate an instance specific control block to pass to sf_audio_playback_api_t::open in sf_audio_playback_cfg_t.
| typedef void sf_audio_playback_ctrl_t |
Audio playback framework control block. Allocate an instance specific control block to pass into the audio playback framework API calls.