Demonstration functional description (STM324x9I-EVAL, STM324xG-EVAL, STM32F429I-Discov-
AUDIOPLAYER_ErrorTypdef
BUFFER_StateTypeDef
Functional description
The audio player initialization is done in startup step. In this step all the audio player states,
the speaker and the volume value are initialized and only when the play button in the audio
player interface is pressed to start the process.
There are two ways to start audio player module:
•
From main desktop menu as shown in
•
Through the file browser contextual menu: direct open feature.
When the audio player is started, the following actions are executed:
•
The graphical components are initialized:
–
–
–
An additional memory is allocated to keep the audio list (pWavList) and the audio file
information (pFileInfo).
62/111
Table 16. Data structure for audio (continued)
Structure
Figure 53. Audio player module startup
The audio frame
The control buttons
The list box field
DocID026161 Rev 4
Contains the different possible error.
– AUDIOPLAYER_ERROR_NONE
– AUDIOPLAYER_ERROR_IO
– AUDIOPLAYER_ERROR_HW
– AUDIOPLAYER_ERROR_MEM
– AUDIOPLAYER_ERROR_FORMAT_NOTSUPPORTED
Contains the different Buffer state
– BUFFER_OFFSET_NONE
– BUFFER_OFFSET_HALF
– BUFFER_OFFSET_FULL.
Figure 53
Description
Need help?
Do you have a question about the STM32CubeF4 and is the answer not in the manual?
Questions and answers