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

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

Issue 2862533002: Corrected the behavior in AEC3 during buffer overruns and underruns (Closed)
Patch Set: Created 3 years, 8 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
Index: webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc
diff --git a/webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc b/webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc
index 85bc11fb0d631865cc45ec2e25b019aa047b3509..61a1f575b13b5062f6304781705d63d1a2a16f69 100644
--- a/webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc
+++ b/webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc
@@ -17,6 +17,13 @@
namespace webrtc {
+void ShadowFilterUpdateGain::HandleEchoPathChange() {
+ // TODO(peah): Check whether this counter should instead be initialized to a
+ // large value.
+ poor_signal_excitation_counter_ = 0;
+ call_counter_ = 0;
+}
aleloi 2017/05/03 11:23:39 Is there a risk that the echo canceler doesn't per
peah-webrtc 2017/05/03 11:31:23 I see that there is a problem with the naming here
+
void ShadowFilterUpdateGain::Compute(
const RenderBuffer& render_buffer,
const RenderSignalAnalyzer& render_signal_analyzer,

Powered by Google App Engine
This is Rietveld 408576698