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

Unified Diff: webrtc/modules/audio_processing/aec3/aec_state.h

Issue 2804223002: Adding support for handling highly reverberant echoes in AEC3 (Closed)
Patch Set: Added limiting of the delay size 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec3/residual_echo_estimator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/aec3/aec_state.h
diff --git a/webrtc/modules/audio_processing/aec3/aec_state.h b/webrtc/modules/audio_processing/aec3/aec_state.h
index 7905be051323dd14d880eec645fc2392a20e16a5..00b62529f64e5724b0c74deeca23f0fa6316485b 100644
--- a/webrtc/modules/audio_processing/aec3/aec_state.h
+++ b/webrtc/modules/audio_processing/aec3/aec_state.h
@@ -76,6 +76,10 @@ class AecState {
// Takes appropriate action at an echo path change.
void HandleEchoPathChange(const EchoPathVariability& echo_path_variability);
+ // Returns the decay factor for the echo reverberation.
+ // TODO(peah): Make this adaptive.
+ float ReverbDecayFactor() const { return 0.f; }
+
// Updates the aec state.
void Update(const std::vector<std::array<float, kFftLengthBy2Plus1>>&
adaptive_filter_frequency_response,
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec3/residual_echo_estimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698