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

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

Issue 2782423003: Major updates to the echo removal functionality in AEC3 (Closed)
Patch Set: Added initialization of uninitialized vector 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/output_selector.h
diff --git a/webrtc/modules/audio_processing/aec3/output_selector.h b/webrtc/modules/audio_processing/aec3/output_selector.h
index 943e547cde5054f7bb703637ec08c8304a879f92..505bb3f19e0984067cda5d36b3a1d0e0bef7e148 100644
--- a/webrtc/modules/audio_processing/aec3/output_selector.h
+++ b/webrtc/modules/audio_processing/aec3/output_selector.h
@@ -24,7 +24,8 @@ class OutputSelector {
~OutputSelector();
// Forms the most appropriate output signal.
- void FormLinearOutput(rtc::ArrayView<const float> subtractor_output,
+ void FormLinearOutput(bool use_subtractor_output,
+ rtc::ArrayView<const float> subtractor_output,
rtc::ArrayView<float> capture);
// Returns true if the linear aec output is the one used.
@@ -32,7 +33,6 @@ class OutputSelector {
private:
bool use_subtractor_output_ = false;
- int output_change_counter_ = 0;
RTC_DISALLOW_COPY_AND_ASSIGN(OutputSelector);
};

Powered by Google App Engine
This is Rietveld 408576698