BSP_AUDIO_OUT_Init() function
Configures the audio peripherals.
Arguments
OutputDevice
OUTPUT_DEVICE_SPEAKER, OUTPUT_DEVICE_HEADPHONE, OUTPUT_DEVICE_BOTH or OUTPUT_DEVICE_AUTO .
Volume
Initial volume level (from 0 (Mute) to 100 (Max))
AudioFreq
Audio frequency used to play the audio stream.
Return value
0 if correct communication, else wrong communication
Notes
This function configure also that the I2S PLL input clock.
Examples
BSP_AUDIO_OUT_Init() is referenced by 5 libraries and example projects: