OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 3 * |
| 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 |
| 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ |
| 10 |
| 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_ |
| 13 |
| 14 #include "webrtc/api/audio_codecs/audio_format.h" |
| 15 #include "webrtc/base/optional.h" |
| 16 |
| 17 namespace webrtc { |
| 18 |
| 19 enum class NetEqDecoder { |
| 20 kDecoderPCMu, |
| 21 kDecoderPCMa, |
| 22 kDecoderPCMu_2ch, |
| 23 kDecoderPCMa_2ch, |
| 24 kDecoderILBC, |
| 25 kDecoderISAC, |
| 26 kDecoderISACswb, |
| 27 kDecoderPCM16B, |
| 28 kDecoderPCM16Bwb, |
| 29 kDecoderPCM16Bswb32kHz, |
| 30 kDecoderPCM16Bswb48kHz, |
| 31 kDecoderPCM16B_2ch, |
| 32 kDecoderPCM16Bwb_2ch, |
| 33 kDecoderPCM16Bswb32kHz_2ch, |
| 34 kDecoderPCM16Bswb48kHz_2ch, |
| 35 kDecoderPCM16B_5ch, |
| 36 kDecoderG722, |
| 37 kDecoderG722_2ch, |
| 38 kDecoderRED, |
| 39 kDecoderAVT, |
| 40 kDecoderAVT16kHz, |
| 41 kDecoderAVT32kHz, |
| 42 kDecoderAVT48kHz, |
| 43 kDecoderCNGnb, |
| 44 kDecoderCNGwb, |
| 45 kDecoderCNGswb32kHz, |
| 46 kDecoderCNGswb48kHz, |
| 47 kDecoderArbitrary, |
| 48 kDecoderOpus, |
| 49 kDecoderOpus_2ch, |
| 50 }; |
| 51 |
| 52 rtc::Optional<SdpAudioFormat> NetEqDecoderToSdpAudioFormat(NetEqDecoder nd); |
| 53 |
| 54 } // namespace webrtc |
| 55 |
| 56 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_ |
OLD | NEW |