DocID026161 Rev 4
63/111
UM1743Demonstration functional description (STM324x9I-EVAL, STM324xG-EVAL, STM32F429I-
110
Table 17. Audio module controls
Button
Preview
Description
Play button
Changes the audio player state to “AUDIOPLAYER_PLAY”
Reads the wave file from storage unit
Sets the frequency
Starts or resumes the audio task
Starts playing audio stream from a data buffer using
“BSP_AUDIO_OUT_Play” function in BSP audio driver.
Replaces play button by pause button
Pause button
Suspends the audio task
Pauses the audio file stream
Replaces pause button by play button
Stop button
Close the wave file from storage unit
Suspends the audio task
Stops audio playing
Changes the audio player state to “AUDIOPLAYER_STOP”
Previous button
Point to the previous wave file
Stops audio playing
Starts playing the previous wave file if play button is pressed
Next button
Point to the next wave file
Stops audio playing
Starts playing the next wave file if play button is pressed
Add file to
playlist
Open file browser window and choose wave file to be added to
playlist
Add folders
Open file browser window and choose entire folder to be added
to playlist
Repeat buttons
At the end of file:
- If repeat all is selected next wave file is selected and played
- If repeat once is selected the played wave file is repeated
- If repeat off is selected the audio player stop
Speaker button
Sets the volume at mute (first press)
Sets the volume at value displayed in volume slider (second
press
Volume slider
Sets the volume value
Progress slider
Sets the desired position in the wave file
Close button
Close audio player module