blob: 024f03cd57f7ade5490e496907935742e9021e57 [file] [log] [blame]
kwiberg65cb70d2017-03-03 14:16:281/*
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
Mirko Bonadei92ea95e2017-09-15 04:47:3111#ifndef MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_
12#define MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_
kwiberg65cb70d2017-03-03 14:16:2813
Mirko Bonadei92ea95e2017-09-15 04:47:3114#include "api/audio_codecs/audio_format.h"
15#include "api/optional.h"
kwiberg65cb70d2017-03-03 14:16:2816
17namespace webrtc {
18
19enum 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
52rtc::Optional<SdpAudioFormat> NetEqDecoderToSdpAudioFormat(NetEqDecoder nd);
53
54} // namespace webrtc
55
Mirko Bonadei92ea95e2017-09-15 04:47:3156#endif // MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_