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