Minor Modification from Original Library
Fork of AUDIO_DISCO_F746NG by
Diff: AUDIO_DISCO_F746NG.cpp
- Revision:
- 1:0b1ed1d2140d
- Parent:
- 0:6f035eff38e4
--- a/AUDIO_DISCO_F746NG.cpp Thu Mar 24 20:23:54 2016 +0000 +++ b/AUDIO_DISCO_F746NG.cpp Tue Aug 23 06:12:59 2016 +0000 @@ -21,7 +21,8 @@ // Constructor AUDIO_DISCO_F746NG::AUDIO_DISCO_F746NG() { - BSP_AUDIO_IN_OUT_Init(INPUT_DEVICE_DIGITAL_MICROPHONE_2, OUTPUT_DEVICE_HEADPHONE, 90, DEFAULT_AUDIO_IN_FREQ); + //volume is 0 to 100 (80 is 0db); + BSP_AUDIO_OUT_Init(OUTPUT_DEVICE_HEADPHONE, 80, I2S_AUDIOFREQ_48K); } // Destructor