Merge pull request #77 from sharebrained/furrtek_master

Audio: use ADC right channel for microphone.
This commit is contained in:
Furrtek 2017-07-27 01:45:45 +01:00 committed by GitHub
commit 7facccb71f

View File

@ -36,5 +36,5 @@ void AudioInput::read_audio_buffer(buffer_s16_t& audio) {
auto audio_buffer = audio::dma::rx_empty_buffer(); auto audio_buffer = audio::dma::rx_empty_buffer();
for (size_t i=0; i<audio_buffer.count; i++) for (size_t i=0; i<audio_buffer.count; i++)
audio.p[i] = audio_buffer.p[i].left; audio.p[i] = audio_buffer.p[i].right;
} }