BSP_AUDIO_OUT_Init() function
Configures the audio peripherals.
Arguments
OutputDevice
OUTPUT_DEVICE_SPEAKER, OUTPUT_DEVICE_HEADPHONE, or OUTPUT_DEVICE_BOTH.
Volume
Initial volume level (from 0 (Mute) to 100 (Max))
AudioFreq
Audio frequency used to play the audio stream.
Return value
AUDIO_OK if correct communication, else wrong communication
Notes
The I2S PLL input clock must be done in the user application.
Examples
BSP_AUDIO_OUT_Init() is referenced by 10 libraries and example projects: