OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 #include "webrtc/modules/audio_processing/audio_processing_impl.h" | 10 #include "webrtc/modules/audio_processing/audio_processing_impl.h" |
11 | 11 |
12 #include <math.h> | 12 #include <math.h> |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <memory> | 15 #include <memory> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/config.h" | |
19 #include "webrtc/modules/audio_processing/test/test_utils.h" | 18 #include "webrtc/modules/audio_processing/test/test_utils.h" |
20 #include "webrtc/modules/include/module_common_types.h" | 19 #include "webrtc/modules/include/module_common_types.h" |
21 #include "webrtc/rtc_base/array_view.h" | 20 #include "webrtc/rtc_base/array_view.h" |
22 #include "webrtc/rtc_base/atomicops.h" | 21 #include "webrtc/rtc_base/atomicops.h" |
23 #include "webrtc/rtc_base/platform_thread.h" | 22 #include "webrtc/rtc_base/platform_thread.h" |
24 #include "webrtc/rtc_base/random.h" | 23 #include "webrtc/rtc_base/random.h" |
25 #include "webrtc/rtc_base/safe_conversions.h" | 24 #include "webrtc/rtc_base/safe_conversions.h" |
26 #include "webrtc/system_wrappers/include/clock.h" | 25 #include "webrtc/system_wrappers/include/clock.h" |
27 #include "webrtc/system_wrappers/include/event_wrapper.h" | 26 #include "webrtc/system_wrappers/include/event_wrapper.h" |
28 #include "webrtc/test/gtest.h" | 27 #include "webrtc/test/gtest.h" |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 // Run test and verify that it did not time out. | 717 // Run test and verify that it did not time out. |
719 EXPECT_EQ(kEventSignaled, Run()); | 718 EXPECT_EQ(kEventSignaled, Run()); |
720 } | 719 } |
721 | 720 |
722 INSTANTIATE_TEST_CASE_P( | 721 INSTANTIATE_TEST_CASE_P( |
723 AudioProcessingPerformanceTest, | 722 AudioProcessingPerformanceTest, |
724 CallSimulator, | 723 CallSimulator, |
725 ::testing::ValuesIn(SimulationConfig::GenerateSimulationConfigs())); | 724 ::testing::ValuesIn(SimulationConfig::GenerateSimulationConfigs())); |
726 | 725 |
727 } // namespace webrtc | 726 } // namespace webrtc |
OLD | NEW |