Index: webrtc/modules/audio_processing/aec3/block_processor.cc |
diff --git a/webrtc/modules/audio_processing/aec3/block_processor.cc b/webrtc/modules/audio_processing/aec3/block_processor.cc |
index 52bc4ef1a30838e7d8772cab0b69310b9dc214cd..536335e8a26bdd420773c0d00fc3662df91dbc38 100644 |
--- a/webrtc/modules/audio_processing/aec3/block_processor.cc |
+++ b/webrtc/modules/audio_processing/aec3/block_processor.cc |
@@ -181,7 +181,7 @@ BlockProcessor* BlockProcessor::Create( |
std::unique_ptr<RenderDelayBuffer> render_buffer( |
RenderDelayBuffer::Create(NumBandsForRate(sample_rate_hz))); |
std::unique_ptr<RenderDelayController> delay_controller( |
- RenderDelayController::Create(sample_rate_hz)); |
+ RenderDelayController::Create(config, sample_rate_hz)); |
std::unique_ptr<EchoRemover> echo_remover( |
EchoRemover::Create(config, sample_rate_hz)); |
return Create(config, sample_rate_hz, std::move(render_buffer), |
@@ -193,7 +193,7 @@ BlockProcessor* BlockProcessor::Create( |
int sample_rate_hz, |
std::unique_ptr<RenderDelayBuffer> render_buffer) { |
std::unique_ptr<RenderDelayController> delay_controller( |
- RenderDelayController::Create(sample_rate_hz)); |
+ RenderDelayController::Create(config, sample_rate_hz)); |
std::unique_ptr<EchoRemover> echo_remover( |
EchoRemover::Create(config, sample_rate_hz)); |
return Create(config, sample_rate_hz, std::move(render_buffer), |