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/neteq/audio_decoder_impl.h" | 11 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <stdlib.h> | 14 #include <stdlib.h> |
15 | 15 |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "webrtc/base/scoped_ptr.h" | 20 #include "webrtc/base/scoped_ptr.h" |
21 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_decoder_pcm.h" | 21 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_decoder_pcm.h" |
22 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h" | 22 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h" |
23 #include "webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h" | 23 #include "webrtc/modules/audio_coding/codecs/g722/include/audio_decoder_g722.h" |
24 #include "webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h" | 24 #include "webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h" |
25 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_decoder_ilbc.h
" | 25 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_decoder_ilbc.h
" |
26 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_encoder_ilbc.h
" | 26 #include "webrtc/modules/audio_coding/codecs/ilbc/interface/audio_encoder_ilbc.h
" |
| 27 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_decoder_is
acfix.h" |
27 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_is
acfix.h" | 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_is
acfix.h" |
| 29 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_decoder_i
sac.h" |
28 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_i
sac.h" | 30 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_i
sac.h" |
29 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_decoder_opus.h
" | 31 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_decoder_opus.h
" |
30 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h
" | 32 #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h
" |
31 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_decoder_pcm16b
.h" | 33 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_decoder_pcm16b
.h" |
32 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b
.h" | 34 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b
.h" |
33 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" | 35 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" |
34 #include "webrtc/system_wrappers/interface/data_log.h" | 36 #include "webrtc/system_wrappers/interface/data_log.h" |
35 #include "webrtc/test/testsupport/fileutils.h" | 37 #include "webrtc/test/testsupport/fileutils.h" |
36 | 38 |
37 namespace webrtc { | 39 namespace webrtc { |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 EXPECT_TRUE(CodecSupported(kDecoderCNGnb)); | 726 EXPECT_TRUE(CodecSupported(kDecoderCNGnb)); |
725 EXPECT_TRUE(CodecSupported(kDecoderCNGwb)); | 727 EXPECT_TRUE(CodecSupported(kDecoderCNGwb)); |
726 EXPECT_TRUE(CodecSupported(kDecoderCNGswb32kHz)); | 728 EXPECT_TRUE(CodecSupported(kDecoderCNGswb32kHz)); |
727 EXPECT_TRUE(CodecSupported(kDecoderCNGswb48kHz)); | 729 EXPECT_TRUE(CodecSupported(kDecoderCNGswb48kHz)); |
728 EXPECT_TRUE(CodecSupported(kDecoderArbitrary)); | 730 EXPECT_TRUE(CodecSupported(kDecoderArbitrary)); |
729 EXPECT_TRUE(CodecSupported(kDecoderOpus)); | 731 EXPECT_TRUE(CodecSupported(kDecoderOpus)); |
730 EXPECT_TRUE(CodecSupported(kDecoderOpus_2ch)); | 732 EXPECT_TRUE(CodecSupported(kDecoderOpus_2ch)); |
731 } | 733 } |
732 | 734 |
733 } // namespace webrtc | 735 } // namespace webrtc |
OLD | NEW |