Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1271)

Unified Diff: webrtc/modules/audio_processing/aec3/suppression_filter.cc

Issue 2720973005: Added further tuning of AEC3 (Closed)
Patch Set: Further tuning of AEC3 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/aec3/suppression_filter.cc
diff --git a/webrtc/modules/audio_processing/aec3/suppression_filter.cc b/webrtc/modules/audio_processing/aec3/suppression_filter.cc
index 3b830a612ef866e61258e66e9532d96a9fdee0dd..7f7a8d7d223fee621f16e10b38845fce8f9721d1 100644
--- a/webrtc/modules/audio_processing/aec3/suppression_filter.cc
+++ b/webrtc/modules/audio_processing/aec3/suppression_filter.cc
@@ -139,8 +139,8 @@ void SuppressionFilter::ApplyGain(
// Scale and apply the noise to the signals.
RTC_DCHECK_LT(3, suppression_gain.size());
- float high_bands_gain =
- *std::min_element(suppression_gain.begin() + 3, suppression_gain.end());
+ float high_bands_gain = *std::min_element(suppression_gain.begin() + 32,
+ suppression_gain.end());
float high_bands_noise_scaling =
0.4f * std::max(1.f - high_bands_gain, 0.f);
« no previous file with comments | « webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698