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" { | |
13 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 12 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
14 } | |
15 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h" | 13 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h" |
16 #include "webrtc/modules/audio_processing/aec/echo_cancellation.h" | 14 #include "webrtc/modules/audio_processing/aec/echo_cancellation.h" |
17 #include "webrtc/typedefs.h" | 15 #include "webrtc/typedefs.h" |
18 | 16 |
19 namespace { | 17 namespace { |
20 | 18 |
21 class SystemDelayTest : public ::testing::Test { | 19 class SystemDelayTest : public ::testing::Test { |
22 protected: | 20 protected: |
23 SystemDelayTest(); | 21 SystemDelayTest(); |
24 virtual void SetUp(); | 22 virtual void SetUp(); |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 EXPECT_LE(0, WebRtcAec_system_delay(self_->aec)); | 590 EXPECT_LE(0, WebRtcAec_system_delay(self_->aec)); |
593 } | 591 } |
594 // Verify we are not in a non-causal state. | 592 // Verify we are not in a non-causal state. |
595 EXPECT_FALSE(non_causal); | 593 EXPECT_FALSE(non_causal); |
596 } | 594 } |
597 } | 595 } |
598 } | 596 } |
599 } | 597 } |
600 | 598 |
601 } // namespace | 599 } // namespace |
OLD | NEW |