diff --git a/modules/audio_processing/aec3/comfort_noise_generator.cc b/modules/audio_processing/aec3/comfort_noise_generator.cc index 1e3cdf2786..bedd227b3b 100644 --- a/modules/audio_processing/aec3/comfort_noise_generator.cc +++ b/modules/audio_processing/aec3/comfort_noise_generator.cc @@ -139,8 +139,9 @@ void ComfortNoiseGenerator::Compute( } } - // Limit the noise to a floor of -96 dBFS. - constexpr float kNoiseFloor = 440.f; + // Limit the noise to a floor matching a WGN input of -96 dBFS. + constexpr float kNoiseFloor = 17.1267f; + for (auto& n : N2_) { n = std::max(n, kNoiseFloor); }