| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" | 11 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 | 14 |
| 15 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" |
| 16 #include "webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h" | 16 #include "webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h" |
| 17 #ifdef WEBRTC_CODEC_G722 | 17 #ifdef WEBRTC_CODEC_G722 |
| 18 #include "webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h" | 18 #include "webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h" |
| 19 #endif | 19 #endif |
| 20 #ifdef WEBRTC_CODEC_ILBC | 20 #ifdef WEBRTC_CODEC_ILBC |
| 21 #include "webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h" | 21 #include "webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h" |
| 22 #endif | 22 #endif |
| 23 #ifdef WEBRTC_CODEC_ISACFX | 23 #ifdef WEBRTC_CODEC_ISACFX |
| 24 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_decoder_isac
fix.h" | 24 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_decoder_isac
fix.h" // nogncheck |
| 25 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isac
fix.h" | 25 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isac
fix.h" // nogncheck |
| 26 #endif | 26 #endif |
| 27 #ifdef WEBRTC_CODEC_ISAC | 27 #ifdef WEBRTC_CODEC_ISAC |
| 28 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_decoder_isa
c.h" | 28 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_decoder_isa
c.h" // nogncheck |
| 29 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isa
c.h" | 29 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isa
c.h" // nogncheck |
| 30 #endif | 30 #endif |
| 31 #ifdef WEBRTC_CODEC_OPUS | 31 #ifdef WEBRTC_CODEC_OPUS |
| 32 #include "webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h" | 32 #include "webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h" |
| 33 #endif | 33 #endif |
| 34 #include "webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.h" | 34 #include "webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.h" |
| 35 | 35 |
| 36 namespace webrtc { | 36 namespace webrtc { |
| 37 | 37 |
| 38 bool CodecSupported(NetEqDecoder codec_type) { | 38 bool CodecSupported(NetEqDecoder codec_type) { |
| 39 switch (codec_type) { | 39 switch (codec_type) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 case NetEqDecoder::kDecoderArbitrary: { | 79 case NetEqDecoder::kDecoderArbitrary: { |
| 80 return true; | 80 return true; |
| 81 } | 81 } |
| 82 default: { | 82 default: { |
| 83 return false; | 83 return false; |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace webrtc | 88 } // namespace webrtc |
| OLD | NEW |