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}
This commit is contained in:
Alessio Bazzica
2021-10-04 11:48:29 +02:00
committed by WebRTC LUCI CQ
parent 958772efc5
commit b8ffdc4bb3

View File

@ -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;
}