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

Unified Diff: webrtc/modules/audio_processing/aec/echo_cancellation.cc

Issue 1862393002: Pulling AEC divergent filter fraction. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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/aec/echo_cancellation.cc
diff --git a/webrtc/modules/audio_processing/aec/echo_cancellation.cc b/webrtc/modules/audio_processing/aec/echo_cancellation.cc
index 32496ca33c01057f315c788b9dc82bc17c68127f..deaee57368f80276d06845ea29f2c0d2706d2206 100644
--- a/webrtc/modules/audio_processing/aec/echo_cancellation.cc
+++ b/webrtc/modules/audio_processing/aec/echo_cancellation.cc
@@ -441,6 +441,7 @@ int WebRtcAec_GetMetrics(void* handle, AecMetrics* metrics) {
Stats erl;
Stats erle;
Stats a_nlp;
+ float divergent_filter_fraction;
if (handle == NULL) {
return -1;
@@ -452,7 +453,8 @@ int WebRtcAec_GetMetrics(void* handle, AecMetrics* metrics) {
return AEC_UNINITIALIZED_ERROR;
}
- WebRtcAec_GetEchoStats(self->aec, &erl, &erle, &a_nlp);
+ WebRtcAec_GetEchoStats(self->aec, &erl, &erle, &a_nlp,
+ &divergent_filter_fraction);
peah-webrtc 2016/04/07 11:14:48 I cannot see that divergent_filter_fraction is use
minyue-webrtc 2016/04/07 11:22:53 Good catch. My bad. now fixed
// ERL
metrics->erl.instant = static_cast<int>(erl.instant);
« no previous file with comments | « webrtc/modules/audio_processing/aec/echo_cancellation.h ('k') | webrtc/modules/audio_processing/echo_cancellation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698