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 |
(...skipping 46 matching lines...) Loading... |
57 }; | 57 }; |
58 | 58 |
59 enum NetEqDecoder { | 59 enum NetEqDecoder { |
60 kDecoderPCMu, | 60 kDecoderPCMu, |
61 kDecoderPCMa, | 61 kDecoderPCMa, |
62 kDecoderPCMu_2ch, | 62 kDecoderPCMu_2ch, |
63 kDecoderPCMa_2ch, | 63 kDecoderPCMa_2ch, |
64 kDecoderILBC, | 64 kDecoderILBC, |
65 kDecoderISAC, | 65 kDecoderISAC, |
66 kDecoderISACswb, | 66 kDecoderISACswb, |
67 kDecoderISACfb, | |
68 kDecoderPCM16B, | 67 kDecoderPCM16B, |
69 kDecoderPCM16Bwb, | 68 kDecoderPCM16Bwb, |
70 kDecoderPCM16Bswb32kHz, | 69 kDecoderPCM16Bswb32kHz, |
71 kDecoderPCM16Bswb48kHz, | 70 kDecoderPCM16Bswb48kHz, |
72 kDecoderPCM16B_2ch, | 71 kDecoderPCM16B_2ch, |
73 kDecoderPCM16Bwb_2ch, | 72 kDecoderPCM16Bwb_2ch, |
74 kDecoderPCM16Bswb32kHz_2ch, | 73 kDecoderPCM16Bswb32kHz_2ch, |
75 kDecoderPCM16Bswb48kHz_2ch, | 74 kDecoderPCM16Bswb48kHz_2ch, |
76 kDecoderPCM16B_5ch, | 75 kDecoderPCM16B_5ch, |
77 kDecoderG722, | 76 kDecoderG722, |
(...skipping 15 matching lines...) Loading... |
93 // Returns the sample rate for |codec_type|. | 92 // Returns the sample rate for |codec_type|. |
94 int CodecSampleRateHz(NetEqDecoder codec_type); | 93 int CodecSampleRateHz(NetEqDecoder codec_type); |
95 | 94 |
96 // Creates an AudioDecoder object of type |codec_type|. Returns NULL for for | 95 // Creates an AudioDecoder object of type |codec_type|. Returns NULL for for |
97 // unsupported codecs, and when creating an AudioDecoder is not applicable | 96 // unsupported codecs, and when creating an AudioDecoder is not applicable |
98 // (e.g., for RED and DTMF/AVT types). | 97 // (e.g., for RED and DTMF/AVT types). |
99 AudioDecoder* CreateAudioDecoder(NetEqDecoder codec_type); | 98 AudioDecoder* CreateAudioDecoder(NetEqDecoder codec_type); |
100 | 99 |
101 } // namespace webrtc | 100 } // namespace webrtc |
102 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_ | 101 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_ |
OLD | NEW |