DocID026161 Rev 4
61/111
UM1743Demonstration functional description (STM324x9I-EVAL, STM324xG-EVAL, STM32F429I-
110
Figure 52. Audio player module architecture
Data structure used
contains the different data structure used in audio player module and a brief
description of each of them.
Table 16. Data structure for audio
Structure
Description
WAV_InfoTypedef
Contains the wave file information extracted from wave file header
AUDIOPLAYER_ProcessTypdef
Contains the audio player state, the speaker state, the volume
value and the pointer to the audio buffer.
AUDIOPLAYER_StateTypdef
Contains the different audio player state:
– AUDIOPLAYER_STOP
– AUDIOPLAYER_START
– AUDIOPLAYER_PLAY
– AUDIOPLAYER_PAUSE
– AUDIOPLAYER_EOF
– AUDIOPLAYER_ERROR