| Index: webrtc/modules/audio_processing/aec3/echo_remover.cc
|
| diff --git a/webrtc/modules/audio_processing/aec3/echo_remover.cc b/webrtc/modules/audio_processing/aec3/echo_remover.cc
|
| index 842c3854e50f1a1a0ee279be4f332326b5926ff7..09d71da88865653a03b1af96999b1c56ad948f62 100644
|
| --- a/webrtc/modules/audio_processing/aec3/echo_remover.cc
|
| +++ b/webrtc/modules/audio_processing/aec3/echo_remover.cc
|
| @@ -186,8 +186,9 @@ void EchoRemoverImpl::ProcessCapture(
|
|
|
| // A choose and apply echo suppression gain.
|
| suppression_gain_.GetGain(E2, R2, cng_.NoiseSpectrum(),
|
| - aec_state_.SaturatedEcho(), x,
|
| - aec_state_.ForcedZeroGain(), &high_bands_gain, &G);
|
| + render_signal_analyzer_, aec_state_.SaturatedEcho(),
|
| + x, aec_state_.ForcedZeroGain(), &high_bands_gain,
|
| + &G);
|
| suppression_filter_.ApplyGain(comfort_noise, high_band_comfort_noise, G,
|
| high_bands_gain, y);
|
|
|
| @@ -195,6 +196,8 @@ void EchoRemoverImpl::ProcessCapture(
|
| metrics_.Update(aec_state_, cng_.NoiseSpectrum(), G);
|
|
|
| // Debug outputs for the purpose of development and analysis.
|
| + data_dumper_->DumpRaw("aec3_narrow_render",
|
| + render_signal_analyzer_.NarrowPeakBand() ? 1 : 0);
|
| data_dumper_->DumpRaw("aec3_N2", cng_.NoiseSpectrum());
|
| data_dumper_->DumpRaw("aec3_suppressor_gain", G);
|
| data_dumper_->DumpWav("aec3_output",
|
|
|