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

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

Issue 2567513003: Added basic framework for AEC3 in the audio processing module (Closed)
Patch Set: Changes in response to reviewer comments Created 4 years 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/aec_core.cc
diff --git a/webrtc/modules/audio_processing/aec/aec_core.cc b/webrtc/modules/audio_processing/aec/aec_core.cc
index 814c38b4ba9b9ea26868d9ea94d45e377c25756c..f9e96ace046ad5ab1110691c43d9d728c61a9f28 100644
--- a/webrtc/modules/audio_processing/aec/aec_core.cc
+++ b/webrtc/modules/audio_processing/aec/aec_core.cc
@@ -1500,7 +1500,6 @@ AecCore* WebRtcAec_CreateAec(int instance_count) {
WebRtc_set_lookahead(aec->delay_estimator, kLookaheadBlocks);
#endif
aec->extended_filter_enabled = 0;
- aec->aec3_enabled = 0;
aec->refined_adaptive_filter_enabled = false;
// Assembly optimization
@@ -2014,15 +2013,6 @@ int WebRtcAec_delay_agnostic_enabled(AecCore* self) {
return self->delay_agnostic_enabled;
}
-void WebRtcAec_enable_aec3(AecCore* self, int enable) {
- self->aec3_enabled = (enable != 0);
-}
-
-int WebRtcAec_aec3_enabled(AecCore* self) {
- RTC_DCHECK(self->aec3_enabled == 0 || self->aec3_enabled == 1);
- return self->aec3_enabled;
-}
-
void WebRtcAec_enable_refined_adaptive_filter(AecCore* self, bool enable) {
self->refined_adaptive_filter_enabled = enable;
SetAdaptiveFilterStepSize(self);
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.h ('k') | webrtc/modules/audio_processing/aec3/echo_canceller3.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698