OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 extern "C" { | 12 extern "C" { |
13 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 13 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
14 } | 14 } |
15 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h" | 15 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h" |
16 #include "webrtc/modules/audio_processing/aec/include/echo_cancellation.h" | 16 #include "webrtc/modules/audio_processing/aec/echo_cancellation.h" |
17 #include "webrtc/test/testsupport/gtest_disable.h" | 17 #include "webrtc/test/testsupport/gtest_disable.h" |
18 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 class SystemDelayTest : public ::testing::Test { | 22 class SystemDelayTest : public ::testing::Test { |
23 protected: | 23 protected: |
24 SystemDelayTest(); | 24 SystemDelayTest(); |
25 virtual void SetUp(); | 25 virtual void SetUp(); |
26 virtual void TearDown(); | 26 virtual void TearDown(); |
(...skipping 566 matching lines...) Loading... |
593 EXPECT_LE(0, WebRtcAec_system_delay(self_->aec)); | 593 EXPECT_LE(0, WebRtcAec_system_delay(self_->aec)); |
594 } | 594 } |
595 // Verify we are not in a non-causal state. | 595 // Verify we are not in a non-causal state. |
596 EXPECT_FALSE(non_causal); | 596 EXPECT_FALSE(non_causal); |
597 } | 597 } |
598 } | 598 } |
599 } | 599 } |
600 } | 600 } |
601 | 601 |
602 } // namespace | 602 } // namespace |
OLD | NEW |