commit | b8ffdc4bb3c8638511a92310bc8ad7e50acc1e2d | [log] [tgz] |
---|---|---|
author | Alessio Bazzica <alessiob@webrtc.org> | Mon Oct 04 09:48:29 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 05 07:25:06 2021 |
tree | 52246fb73b658a6dadf56d04bdb50c7ba1374bfa | |
parent | 958772efc5a3ad8ff5078aca0829c96220f8c7e9 [diff] |
APM: fix CaptureLevelAdjustment::operator== Bug: webrtc:7494 Change-Id: I0ea13af2e23ed1490fa22d75d104bdd45b0452bf Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/233460 Reviewed-by: Per Ã…hgren <peah@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35142}
diff --git a/modules/audio_processing/include/audio_processing.cc b/modules/audio_processing/include/audio_processing.cc index ddd8078..71d0938 100644 --- a/modules/audio_processing/include/audio_processing.cc +++ b/modules/audio_processing/include/audio_processing.cc
@@ -110,7 +110,7 @@ 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; }