From 638d4d375f0819ef91eb356bb6f1e3dae5b88fbc Mon Sep 17 00:00:00 2001 From: Gustaf Ullberg Date: Mon, 27 Aug 2018 13:14:11 +0200 Subject: [PATCH] AEC3: No ERLE uncertainty with diverged filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disable the use of ERLE uncertainty with a diverged filter as it has been shown to make transparency worse. Bug: webrtc:9668 Change-Id: I5e23665def187c0d1cf47a029c4ebc950e79bb44 Reviewed-on: https://webrtc-review.googlesource.com/96140 Reviewed-by: Per Ã…hgren Commit-Queue: Gustaf Ullberg Cr-Commit-Position: refs/heads/master@{#24446} --- modules/audio_processing/aec3/aec_state.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/audio_processing/aec3/aec_state.h b/modules/audio_processing/aec3/aec_state.h index 656548585e..0339efbf38 100644 --- a/modules/audio_processing/aec3/aec_state.h +++ b/modules/audio_processing/aec3/aec_state.h @@ -74,10 +74,6 @@ class AecState { // Returns any uncertainty in the ERLE estimate. absl::optional ErleUncertainty() const { - if (allow_linear_mode_with_diverged_filter_ && diverged_linear_filter_) { - return 10.f; - } - if (!filter_has_had_time_to_converge_ && use_uncertainty_until_sufficiently_adapted_) { return uncertainty_before_convergence_;