blob: 8dc746c856756db90061f7646b8f0ebfb95cbf78 [file] [log] [blame]
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +00001/*
2 * Copyright (c) 2012 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
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000011#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
12#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000013
14#include <assert.h>
15
kwiberg087bd342017-02-10 08:15:44 -080016#include "webrtc/api/audio_codecs/audio_decoder.h"
kwiberg65cb70d2017-03-03 06:16:28 -080017#include "webrtc/modules/audio_coding/neteq/neteq_decoder_enum.h"
Edward Lemurc20978e2017-07-06 19:44:34 +020018#include "webrtc/rtc_base/constructormagic.h"
kwiberg087bd342017-02-10 08:15:44 -080019#include "webrtc/typedefs.h"
20
kwiberg@webrtc.org8b2058e2014-11-06 07:54:31 +000021#ifdef WEBRTC_CODEC_G722
kjellander@webrtc.org3c652b62015-11-18 23:07:57 +010022#include "webrtc/modules/audio_coding/codecs/g722/g722_interface.h"
kwiberg@webrtc.org8b2058e2014-11-06 07:54:31 +000023#endif
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000024
25namespace webrtc {
26
kwiberg@webrtc.orge04a93b2014-12-09 10:12:53 +000027// Returns true if |codec_type| is supported.
28bool CodecSupported(NetEqDecoder codec_type);
29
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000030} // namespace webrtc
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000031#endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_