| Index: webrtc/modules/audio_processing/aec3/aec_state_unittest.cc
|
| diff --git a/webrtc/modules/audio_processing/aec3/aec_state_unittest.cc b/webrtc/modules/audio_processing/aec3/aec_state_unittest.cc
|
| index 90b7cb92695007582e04db32ae7ac3ba9af2be1e..682126e1ce0265c8da3d253244adcc78ecea8ede 100644
|
| --- a/webrtc/modules/audio_processing/aec3/aec_state_unittest.cc
|
| +++ b/webrtc/modules/audio_processing/aec3/aec_state_unittest.cc
|
| @@ -18,7 +18,7 @@ namespace webrtc {
|
| // Verify the general functionality of AecState
|
| TEST(AecState, NormalUsage) {
|
| ApmDataDumper data_dumper(42);
|
| - AecState state;
|
| + AecState state(0.f);
|
| RenderBuffer render_buffer(Aec3Optimization::kNone, 3, 30,
|
| std::vector<size_t>(1, 30));
|
| std::array<float, kFftLengthBy2Plus1> E2_main = {};
|
| @@ -148,7 +148,7 @@ TEST(AecState, NormalUsage) {
|
|
|
| // Verifies the a non-significant delay is correctly identified.
|
| TEST(AecState, NonSignificantDelay) {
|
| - AecState state;
|
| + AecState state(0.f);
|
| RenderBuffer render_buffer(Aec3Optimization::kNone, 3, 30,
|
| std::vector<size_t>(1, 30));
|
| std::array<float, kFftLengthBy2Plus1> E2_main;
|
| @@ -172,7 +172,7 @@ TEST(AecState, NonSignificantDelay) {
|
| // Verifies the delay for a converged filter is correctly identified.
|
| TEST(AecState, ConvergedFilterDelay) {
|
| constexpr int kFilterLength = 10;
|
| - AecState state;
|
| + AecState state(0.f);
|
| RenderBuffer render_buffer(Aec3Optimization::kNone, 3, 30,
|
| std::vector<size_t>(1, 30));
|
| std::array<float, kFftLengthBy2Plus1> E2_main;
|
| @@ -203,7 +203,7 @@ TEST(AecState, ConvergedFilterDelay) {
|
|
|
| // Verify that the externally reported delay is properly reported and converted.
|
| TEST(AecState, ExternalDelay) {
|
| - AecState state;
|
| + AecState state(0.f);
|
| std::array<float, kFftLengthBy2Plus1> E2_main;
|
| std::array<float, kFftLengthBy2Plus1> E2_shadow;
|
| std::array<float, kFftLengthBy2Plus1> Y2;
|
|
|