Index: webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
index d3fe17a3529008e4729a48b74c9d5c47ca0b5c39..2d5ba35c3487138f562d6f05b05ccd3c2a5b3279 100644 |
--- a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
+++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc |
@@ -243,6 +243,12 @@ int EchoControlMobileImpl::ProcessCaptureAudio(AudioBuffer* audio, |
++handle_index; |
} |
+ for (size_t band = 1u; band < audio->num_bands(); ++band) { |
+ memset(audio->split_bands(capture)[band], |
+ 0, |
+ audio->num_frames_per_band() * |
+ sizeof(audio->split_bands(capture)[band][0])); |
+ } |
} |
return AudioProcessing::kNoError; |
} |