| Index: webrtc/modules/audio_processing/aec3/residual_echo_estimator_unittest.cc
|
| diff --git a/webrtc/modules/audio_processing/aec3/residual_echo_estimator_unittest.cc b/webrtc/modules/audio_processing/aec3/residual_echo_estimator_unittest.cc
|
| index b448c4df43ef275503af89e3341cfc1acf16bb82..68022bc980160bf092a30be694879488b03a77f8 100644
|
| --- a/webrtc/modules/audio_processing/aec3/residual_echo_estimator_unittest.cc
|
| +++ b/webrtc/modules/audio_processing/aec3/residual_echo_estimator_unittest.cc
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "webrtc/modules/audio_processing/aec3/aec3_fft.h"
|
| #include "webrtc/modules/audio_processing/aec3/aec_state.h"
|
| +#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
| #include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h"
|
| #include "webrtc/rtc_base/random.h"
|
| #include "webrtc/test/gtest.h"
|
| @@ -36,8 +37,8 @@ TEST(ResidualEchoEstimator, NullResidualEchoPowerOutput) {
|
| #endif
|
|
|
| TEST(ResidualEchoEstimator, BasicTest) {
|
| - ResidualEchoEstimator estimator;
|
| - AecState aec_state(0.f);
|
| + ResidualEchoEstimator estimator(AudioProcessing::Config::EchoCanceller3{});
|
| + AecState aec_state(AudioProcessing::Config::EchoCanceller3{});
|
| RenderBuffer render_buffer(Aec3Optimization::kNone, 3, 10,
|
| std::vector<size_t>(1, 10));
|
| std::array<float, kFftLengthBy2Plus1> E2_main;
|
|
|