OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ |
13 | 13 |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 15 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 //----------------------------- | 19 //----------------------------- |
20 #define CHECK_ERROR(f) \ | 20 #define CHECK_ERROR(f) \ |
21 do { \ | 21 do { \ |
22 EXPECT_GE(f, 0) << "Error Calling API"; \ | 22 EXPECT_GE(f, 0) << "Error Calling API"; \ |
23 } while(0) | 23 } while(0) |
24 | 24 |
25 //----------------------------- | 25 //----------------------------- |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 uint32_t _numFrameTypes[5]; | 130 uint32_t _numFrameTypes[5]; |
131 }; | 131 }; |
132 | 132 |
133 void UseLegacyAcm(webrtc::Config* config); | 133 void UseLegacyAcm(webrtc::Config* config); |
134 | 134 |
135 void UseNewAcm(webrtc::Config* config); | 135 void UseNewAcm(webrtc::Config* config); |
136 | 136 |
137 } // namespace webrtc | 137 } // namespace webrtc |
138 | 138 |
139 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ | 139 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_ |
OLD | NEW |