From 766f703fe3668152feebf1fbfbce7940e280f389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20de=20Vicente=20Pe=C3=B1a?= Date: Thu, 4 May 2023 14:52:18 +0200 Subject: [PATCH] Making WebRTC-Aec3PenalyzeHighDelaysInitialPhase default to true. Bug: webrtc:14919 Change-Id: Id7509b9ef4730b4d09259bdd7ed13411238eabd3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/304164 Reviewed-by: Gustaf Ullberg Commit-Queue: Jesus de Vicente Pena Cr-Commit-Position: refs/heads/main@{#39986} --- .../audio_processing/aec3/matched_filter_lag_aggregator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc b/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc index ffedc85fcd..8eb27c3a3f 100644 --- a/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc +++ b/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc @@ -124,8 +124,8 @@ MatchedFilterLagAggregator::PreEchoLagAggregator::PreEchoLagAggregator( size_t max_filter_lag, size_t down_sampling_factor) : block_size_log2_(GetDownSamplingBlockSizeLog2(down_sampling_factor)), - penalize_high_delays_initial_phase_( - field_trial::IsEnabled("WebRTC-Aec3PenalyzeHighDelaysInitialPhase")), + penalize_high_delays_initial_phase_(!field_trial::IsDisabled( + "WebRTC-Aec3PenalyzeHighDelaysInitialPhase")), histogram_( ((max_filter_lag + 1) * down_sampling_factor) >> kBlockSizeLog2, 0) {