Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Side by Side Diff: webrtc/modules/audio_processing/aec3/subtractor_unittest.cc

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Disabled one more DEATH test that caused issues due to bug on bots Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/audio_processing/aec3/subtractor.h" 11 #include "webrtc/modules/audio_processing/aec3/subtractor.h"
12 12
13 // TODO(peah): Reactivate once the next CL has landed.
14 #if 0
13 #include <algorithm> 15 #include <algorithm>
14 #include <numeric> 16 #include <numeric>
15 #include <string> 17 #include <string>
16 18
17 #include "webrtc/base/random.h" 19 #include "webrtc/base/random.h"
18 #include "webrtc/modules/audio_processing/aec3/aec_state.h" 20 #include "webrtc/modules/audio_processing/aec3/aec_state.h"
19 #include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h" 21 #include "webrtc/modules/audio_processing/test/echo_canceller_test_tools.h"
20 #include "webrtc/test/gtest.h" 22 #include "webrtc/test/gtest.h"
21 23
22 namespace webrtc { 24 namespace webrtc {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 for (size_t delay_samples : {0, 64, 150, 200, 301}) { 168 for (size_t delay_samples : {0, 64, 150, 200, 301}) {
167 SCOPED_TRACE(ProduceDebugText(delay_samples)); 169 SCOPED_TRACE(ProduceDebugText(delay_samples));
168 170
169 float echo_to_nearend_power = RunSubtractorTest( 171 float echo_to_nearend_power = RunSubtractorTest(
170 100, delay_samples, false, blocks_with_echo_path_changes); 172 100, delay_samples, false, blocks_with_echo_path_changes);
171 EXPECT_NEAR(1.f, echo_to_nearend_power, 0.0000001f); 173 EXPECT_NEAR(1.f, echo_to_nearend_power, 0.0000001f);
172 } 174 }
173 } 175 }
174 176
175 } // namespace webrtc 177 } // namespace webrtc
178
179 #endif
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec3/subtractor.cc ('k') | webrtc/modules/audio_processing/aec3/suppression_gain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698