Index: webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc |
diff --git a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc |
index 61208118c7aeacb586e00711cab6b36f82dccead..f3b310657dbc81ca4ed778c884ab732cc628ca36 100644 |
--- a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc |
+++ b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc |
@@ -32,7 +32,7 @@ void EchoGeneratingPower(const RenderBuffer& render_buffer, |
} |
// Apply soft noise gate of -78 dBFS. |
- constexpr float kNoiseGatePower = 27509.42f; |
+ const float kNoiseGatePower = 27509.42f; |
std::for_each(X2->begin(), X2->end(), [kNoiseGatePower](float& a) { |
if (kNoiseGatePower > a) { |
a = std::max(0.f, a - 0.3f * (kNoiseGatePower - a)); |