Minor Modification from Original Library

Dependents:   ARMmbedFMsinth

Fork of AUDIO_DISCO_F746NG by ST

Files at this revision

API Documentation at this revision

Comitter:
stefanofasciani
Date:
Tue Aug 23 06:12:59 2016 +0000
Parent:
0:6f035eff38e4
Commit message:
First Commit

Changed in this revision

AUDIO_DISCO_F746NG.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6f035eff38e4 -r 0b1ed1d2140d AUDIO_DISCO_F746NG.cpp
--- 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