2013-01-29 12:09:21 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#ifndef MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
|
|
|
|
|
#define MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
|
2013-01-29 12:09:21 +00:00
|
|
|
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#include "api/audio_codecs/audio_decoder.h"
|
|
|
|
|
#include "modules/audio_coding/neteq/neteq_decoder_enum.h"
|
|
|
|
|
#include "rtc_base/constructormagic.h"
|
2017-09-15 13:58:09 +02:00
|
|
|
#include "typedefs.h" // NOLINT(build/include)
|
2017-02-10 08:15:44 -08:00
|
|
|
|
2014-11-06 07:54:31 +00:00
|
|
|
#ifdef WEBRTC_CODEC_G722
|
2017-09-15 06:47:31 +02:00
|
|
|
#include "modules/audio_coding/codecs/g722/g722_interface.h"
|
2014-11-06 07:54:31 +00:00
|
|
|
#endif
|
2013-01-29 12:09:21 +00:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
2014-12-09 10:12:53 +00:00
|
|
|
// Returns true if |codec_type| is supported.
|
|
|
|
|
bool CodecSupported(NetEqDecoder codec_type);
|
|
|
|
|
|
2013-01-29 12:09:21 +00:00
|
|
|
} // namespace webrtc
|
2017-09-15 06:47:31 +02:00
|
|
|
#endif // MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_
|