Using Audio_Weaver_Designer_7.A.0.8 STMicro Edition, I am able to run an Audio Weaver AWD file with microphone input and audio output on an STM32F746 Discovery Board.
The Audio output is available on the 1/8" audio connector. Isn't it possible to have the output also available on the Audio Codec Speaker Out?
I tried the following without any success:
- Edit SetupAudio(void) to include OUTPUT_DEVICE_BOTH instead of OUTPUT_DEVICE_HEADPHONE as follow:
memset(AudioBufferIn, 0, sizeof(AudioBufferIn));
memset(AudioBufferOut, 0, sizeof(AudioBufferOut));
nInputDevice = INPUT_DEVICE_INPUT_LINE_1 | INPUT_DEVICE_DIGITAL_MICROPHONE_2;
BSP_AUDIO_IN_OUT_Init(nInputDevice, OUTPUT_DEVICE_BOTH, uwVolume, I2S_AUDIOFREQ_48K);
} // End SetupAudio
- Build and program target with new .bin