From b8ffdc4bb3c8638511a92310bc8ad7e50acc1e2d Mon Sep 17 00:00:00 2001 From: Alessio Bazzica Date: Mon, 4 Oct 2021 11:48:29 +0200 Subject: [PATCH] APM: fix CaptureLevelAdjustment::operator== MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:7494 Change-Id: I0ea13af2e23ed1490fa22d75d104bdd45b0452bf Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/233460 Reviewed-by: Per Ã…hgren Commit-Queue: Alessio Bazzica Cr-Commit-Position: refs/heads/main@{#35142} --- modules/audio_processing/include/audio_processing.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/include/audio_processing.cc b/modules/audio_processing/include/audio_processing.cc index ddd8078c93..71d093812a 100644 --- a/modules/audio_processing/include/audio_processing.cc +++ b/modules/audio_processing/include/audio_processing.cc @@ -110,7 +110,7 @@ bool Agc2Config::operator==(const Agc2Config& rhs) const { bool AudioProcessing::Config::CaptureLevelAdjustment::operator==( const AudioProcessing::Config::CaptureLevelAdjustment& rhs) const { return enabled == rhs.enabled && pre_gain_factor == rhs.pre_gain_factor && - post_gain_factor && rhs.post_gain_factor && + post_gain_factor == rhs.post_gain_factor && analog_mic_gain_emulation == rhs.analog_mic_gain_emulation; }