henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 1 | /* |
| 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 Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 11 | #ifndef MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_ |
| 12 | #define MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_ |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 13 | |
| 14 | #include <assert.h> |
| 15 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 16 | #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" |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 20 | |
kwiberg@webrtc.org | 8b2058e | 2014-11-06 07:54:31 +0000 | [diff] [blame] | 21 | #ifdef WEBRTC_CODEC_G722 |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 22 | #include "modules/audio_coding/codecs/g722/g722_interface.h" |
kwiberg@webrtc.org | 8b2058e | 2014-11-06 07:54:31 +0000 | [diff] [blame] | 23 | #endif |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 24 | |
| 25 | namespace webrtc { |
| 26 | |
kwiberg@webrtc.org | e04a93b | 2014-12-09 10:12:53 +0000 | [diff] [blame] | 27 | // Returns true if |codec_type| is supported. |
| 28 | bool CodecSupported(NetEqDecoder codec_type); |
| 29 | |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 30 | } // namespace webrtc |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 31 | #endif // MODULES_AUDIO_CODING_NETEQ_AUDIO_DECODER_IMPL_H_ |