blob: c724e72817b94b96a6493e80b2ef5fbabb8495b3 [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
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
12#define MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000013
14#include <assert.h>
15
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020016#include "api/audio_codecs/audio_decoder.h"
17#include "modules/audio_coding/neteq/neteq_decoder_enum.h"
18#include "rtc_base/constructormagic.h"
19#include "typedefs.h"
kwiberg087bd342017-02-10 08:15:44 -080020
kwiberg@webrtc.org8b2058e2014-11-06 07:54:31 +000021#ifdef WEBRTC_CODEC_G722
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020022#include "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
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020031#endif // MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_