Index: webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc |
diff --git a/webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc b/webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc |
index 8f84f59609cc20efcd26b6c3b3b1e3f9ace1b394..3c182f395214c8301ae97f30907f1b542e9e9cd9 100644 |
--- a/webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc |
+++ b/webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc |
@@ -24,13 +24,16 @@ namespace { |
constexpr int kDownSamplingFactor = 4; |
} // namespace |
-EchoPathDelayEstimator::EchoPathDelayEstimator(ApmDataDumper* data_dumper) |
+EchoPathDelayEstimator::EchoPathDelayEstimator( |
+ ApmDataDumper* data_dumper, |
+ const AudioProcessing::Config::EchoCanceller3& config) |
: data_dumper_(data_dumper), |
matched_filter_(data_dumper_, |
DetectOptimization(), |
kMatchedFilterWindowSizeSubBlocks, |
kNumMatchedFilters, |
- kMatchedFilterAlignmentShiftSizeSubBlocks), |
+ kMatchedFilterAlignmentShiftSizeSubBlocks, |
+ config.param.render_levels.poor_excitation_render_limit), |
matched_filter_lag_aggregator_(data_dumper_, |
matched_filter_.NumLagEstimates()) { |
RTC_DCHECK(data_dumper); |