blob: 00629bc83164f82d6d01dcd1cb36c6520c98866d [file] [log] [blame]
kwiberg65cb70d2017-03-03 06:16:28 -08001/*
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 06:47:31 +020011#ifndef MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_
12#define MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_
kwiberg65cb70d2017-03-03 06:16:28 -080013
Danil Chapovalovb6021232018-06-19 13:26:36 +020014#include "absl/types/optional.h"
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020015#include "api/audio_codecs/audio_format.h"
kwiberg65cb70d2017-03-03 06:16:28 -080016
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
Danil Chapovalovb6021232018-06-19 13:26:36 +020052absl::optional<SdpAudioFormat> NetEqDecoderToSdpAudioFormat(NetEqDecoder nd);
kwiberg65cb70d2017-03-03 06:16:28 -080053
54} // namespace webrtc
55
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020056#endif // MODULES_AUDIO_CODING_NETEQ_NETEQ_DECODER_ENUM_H_