OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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/codecs/builtin_audio_encoder_factory_inter
nal.h" | 11 #include "webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_inter
nal.h" |
12 | 12 |
13 #include <memory> | 13 #include <memory> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
| 16 #include "webrtc/base/checks.h" |
| 17 #include "webrtc/base/logging.h" |
| 18 #include "webrtc/base/optional.h" |
16 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
17 #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" | 20 #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" |
18 #include "webrtc/rtc_base/checks.h" | |
19 #include "webrtc/rtc_base/logging.h" | |
20 #include "webrtc/rtc_base/optional.h" | |
21 #ifdef WEBRTC_CODEC_G722 | 21 #ifdef WEBRTC_CODEC_G722 |
22 #include "webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h" | 22 #include "webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h" |
23 #endif | 23 #endif |
24 #ifdef WEBRTC_CODEC_ILBC | 24 #ifdef WEBRTC_CODEC_ILBC |
25 #include "webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.h" | 25 #include "webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.h" |
26 #endif | 26 #endif |
27 #ifdef WEBRTC_CODEC_ISACFX | 27 #ifdef WEBRTC_CODEC_ISACFX |
28 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isac
fix.h" // nogncheck | 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isac
fix.h" // nogncheck |
29 #endif | 29 #endif |
30 #ifdef WEBRTC_CODEC_ISAC | 30 #ifdef WEBRTC_CODEC_ISAC |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 } | 135 } |
136 }; | 136 }; |
137 | 137 |
138 rtc::scoped_refptr<AudioEncoderFactory> | 138 rtc::scoped_refptr<AudioEncoderFactory> |
139 CreateBuiltinAudioEncoderFactoryInternal() { | 139 CreateBuiltinAudioEncoderFactoryInternal() { |
140 return rtc::scoped_refptr<AudioEncoderFactory>( | 140 return rtc::scoped_refptr<AudioEncoderFactory>( |
141 new rtc::RefCountedObject<BuiltinAudioEncoderFactory>()); | 141 new rtc::RefCountedObject<BuiltinAudioEncoderFactory>()); |
142 } | 142 } |
143 | 143 |
144 } // namespace webrtc | 144 } // namespace webrtc |
OLD | NEW |