From 9d54bd889898baa02a2b3920cbaf80fa3c70e598 Mon Sep 17 00:00:00 2001 From: Gustaf Ullberg Date: Mon, 3 Dec 2018 14:57:28 +0100 Subject: [PATCH] AEC3: Fix ENR threshold for WebRTC-Aec3UseLegacyNormalSuppressorTuning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the ENR threshold used in the dominant nearend detection when the kill-switch WebRTC-Aec3UseLegacyNormalSuppressorTuning is pulled. Bug: webrtc:8671,chromium:911141 Change-Id: I30ee58009633b3a9e12eff692226baada624a049 Reviewed-on: https://webrtc-review.googlesource.com/c/112903 Commit-Queue: Gustaf Ullberg Reviewed-by: Per Ã…hgren Cr-Commit-Position: refs/heads/master@{#25880} --- modules/audio_processing/aec3/echo_canceller3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/aec3/echo_canceller3.cc b/modules/audio_processing/aec3/echo_canceller3.cc index f05edb15c3..38f651063d 100644 --- a/modules/audio_processing/aec3/echo_canceller3.cc +++ b/modules/audio_processing/aec3/echo_canceller3.cc @@ -147,7 +147,7 @@ EchoCanceller3Config AdjustConfig(const EchoCanceller3Config& config) { EchoCanceller3Config::Suppressor::MaskingThresholds(.07f, .1f, .3f), 2.0f, 0.25f); - adjusted_cfg.suppressor.dominant_nearend_detection.enr_threshold = 10.f; + adjusted_cfg.suppressor.dominant_nearend_detection.enr_threshold = 0.1f; adjusted_cfg.suppressor.dominant_nearend_detection.snr_threshold = 10.f; adjusted_cfg.suppressor.dominant_nearend_detection.hold_duration = 25; }