Demonstration functional description (STM32F412GDISCO)
UM1743
DocID026161 Rev 4
Process description
The audio player initialization is done in the 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 the process can be started.
Start the audio player module from the main desktop menu as shown in
.
Figure 102. Audio player module startup
Table 33. Audio player module controls
Button
Preview
Description
Play
Reads the wave file from storage unit
Starts or resumes the audio task
Starts playing audio stream
Replaces Play button with Pause button
Next
Points to the next wave file
Stops audio playing
Starts playing the next wave file if Play button is pressed
Previous
Points to the previous wave file
Stops audio playing
Starts playing the previous wave file if Play button is pressed
Volume up
Increases the volume