Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: webrtc/modules/audio_processing/aec3/echo_remover.cc

Issue 2971683002: Changed default value for the duration of the echo in echocanceller 3 (Closed)
Patch Set: Removed the echo decay as a configuration parameter Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0c6184e3bb76cc3ef2e86711169740eaf5384c34..9828192b91c63661ab55123fbffb5a10c4287a42 100644
--- a/webrtc/modules/audio_processing/aec3/echo_remover.cc
+++ b/webrtc/modules/audio_processing/aec3/echo_remover.cc
@@ -104,7 +104,7 @@ EchoRemoverImpl::EchoRemoverImpl(
suppression_gain_(optimization_),
cng_(optimization_),
suppression_filter_(sample_rate_hz_),
- aec_state_(config.echo_decay) {
+ aec_state_(0.8f) {
RTC_DCHECK(ValidFullBandRate(sample_rate_hz));
}

Powered by Google App Engine
This is Rietveld 408576698