Index: webrtc/modules/audio_processing/aec3/residual_echo_estimator.h |
diff --git a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.h b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.h |
index 1f520af48c112e6d4ee8068bdda0b0d46de9b7ed..1334e63256b475b3a7bd024fe86fec792e1ff50b 100644 |
--- a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.h |
+++ b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.h |
@@ -30,20 +30,14 @@ class ResidualEchoEstimator { |
void Estimate(bool using_subtractor_output, |
const AecState& aec_state, |
- const RenderBuffer& X_buffer, |
- const std::vector<std::array<float, kFftLengthBy2Plus1>>& H2, |
- const std::array<float, kFftLengthBy2Plus1>& E2_main, |
- const std::array<float, kFftLengthBy2Plus1>& E2_shadow, |
+ const RenderBuffer& render_buffer, |
const std::array<float, kFftLengthBy2Plus1>& S2_linear, |
- const std::array<float, kFftLengthBy2Plus1>& S2_fallback, |
const std::array<float, kFftLengthBy2Plus1>& Y2, |
std::array<float, kFftLengthBy2Plus1>* R2); |
- void HandleEchoPathChange(const EchoPathVariability& echo_path_variability); |
- |
private: |
- std::array<float, kFftLengthBy2Plus1> echo_path_gain_; |
- size_t blocks_since_last_saturation_ = 1000; |
+ std::array<float, kFftLengthBy2Plus1> R2_old_; |
+ std::array<int, kFftLengthBy2Plus1> R2_hold_counter_; |
RTC_DISALLOW_COPY_AND_ASSIGN(ResidualEchoEstimator); |
}; |