aboutsummaryrefslogtreecommitdiff
path: root/modules/audio_processing/aec3/erle_estimator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/audio_processing/aec3/erle_estimator.cc')
-rw-r--r--modules/audio_processing/aec3/erle_estimator.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/audio_processing/aec3/erle_estimator.cc b/modules/audio_processing/aec3/erle_estimator.cc
index 656a9c7fdf..17bb79d690 100644
--- a/modules/audio_processing/aec3/erle_estimator.cc
+++ b/modules/audio_processing/aec3/erle_estimator.cc
@@ -16,12 +16,13 @@
namespace webrtc {
ErleEstimator::ErleEstimator(size_t startup_phase_length_blocks_,
- const EchoCanceller3Config& config)
+ const EchoCanceller3Config& config,
+ size_t num_capture_channels)
: startup_phase_length_blocks__(startup_phase_length_blocks_),
use_signal_dependent_erle_(config.erle.num_sections > 1),
fullband_erle_estimator_(config.erle.min, config.erle.max_l),
- subband_erle_estimator_(config),
- signal_dependent_erle_estimator_(config) {
+ subband_erle_estimator_(config, num_capture_channels),
+ signal_dependent_erle_estimator_(config, num_capture_channels) {
Reset(true);
}