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 "webrtc/modules/audio_coding/test/TestVADDTX.h" | 11 #include "webrtc/modules/audio_coding/test/TestVADDTX.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "webrtc/engine_configurations.h" | |
16 #include "webrtc/modules/audio_coding/test/PCMFile.h" | 15 #include "webrtc/modules/audio_coding/test/PCMFile.h" |
17 #include "webrtc/modules/audio_coding/test/utility.h" | 16 #include "webrtc/modules/audio_coding/test/utility.h" |
18 #include "webrtc/test/testsupport/fileutils.h" | 17 #include "webrtc/test/testsupport/fileutils.h" |
| 18 #include "webrtc/voice_engine_configurations.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 #ifdef WEBRTC_CODEC_ISAC | 22 #ifdef WEBRTC_CODEC_ISAC |
23 const CodecInst kIsacWb = {103, "ISAC", 16000, 480, 1, 32000}; | 23 const CodecInst kIsacWb = {103, "ISAC", 16000, 480, 1, 32000}; |
24 const CodecInst kIsacSwb = {104, "ISAC", 32000, 960, 1, 56000}; | 24 const CodecInst kIsacSwb = {104, "ISAC", 32000, 960, 1, 56000}; |
25 #endif | 25 #endif |
26 | 26 |
27 #ifdef WEBRTC_CODEC_ILBC | 27 #ifdef WEBRTC_CODEC_ILBC |
28 const CodecInst kIlbc = {102, "ILBC", 8000, 240, 1, 13300}; | 28 const CodecInst kIlbc = {102, "ILBC", 8000, 240, 1, 13300}; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 | 268 |
269 EXPECT_EQ(0, acm_send_->EnableOpusDtx()); | 269 EXPECT_EQ(0, acm_send_->EnableOpusDtx()); |
270 | 270 |
271 expects[kEmptyFrame] = 1; | 271 expects[kEmptyFrame] = 1; |
272 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), | 272 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), |
273 32000, 2, out_filename, true, expects); | 273 32000, 2, out_filename, true, expects); |
274 #endif | 274 #endif |
275 } | 275 } |
276 | 276 |
277 } // namespace webrtc | 277 } // namespace webrtc |
OLD | NEW |