From d49058e702801d6bbe81f4fd88fa2d1db8d51581 Mon Sep 17 00:00:00 2001 From: Hanna Silen Date: Thu, 14 Dec 2023 17:08:10 +0200 Subject: [PATCH] AGC2: Enable clipping predictor by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:7494 Change-Id: I36a98ac06230f9bd54055e8177ac28fb9cd11442 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/331540 Commit-Queue: Hanna Silen Reviewed-by: Per Ã…hgren Reviewed-by: Sam Zackrisson Cr-Commit-Position: refs/heads/main@{#41709} --- modules/audio_processing/agc2/input_volume_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/agc2/input_volume_controller.h b/modules/audio_processing/agc2/input_volume_controller.h index 21405542dc..0bec7af450 100644 --- a/modules/audio_processing/agc2/input_volume_controller.h +++ b/modules/audio_processing/agc2/input_volume_controller.h @@ -50,7 +50,7 @@ class InputVolumeController final { // Limited to values higher than 0. int clipped_wait_frames = 300; // Enables clipping prediction functionality. - bool enable_clipping_predictor = false; + bool enable_clipping_predictor = true; // Speech level target range (dBFS). If the speech level is in the range // [`target_range_min_dbfs`, `target_range_max_dbfs`], no input volume // adjustments are done based on the speech level. For speech levels below