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 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 }; | 61 }; |
62 | 62 |
63 NamedEncoderFactory encoder_factories[] = { | 63 NamedEncoderFactory encoder_factories[] = { |
64 #ifdef WEBRTC_CODEC_G722 | 64 #ifdef WEBRTC_CODEC_G722 |
65 NamedEncoderFactory::ForEncoder<AudioEncoderG722Impl>(), | 65 NamedEncoderFactory::ForEncoder<AudioEncoderG722Impl>(), |
66 #endif | 66 #endif |
67 #ifdef WEBRTC_CODEC_ILBC | 67 #ifdef WEBRTC_CODEC_ILBC |
68 NamedEncoderFactory::ForEncoder<AudioEncoderIlbcImpl>(), | 68 NamedEncoderFactory::ForEncoder<AudioEncoderIlbcImpl>(), |
69 #endif | 69 #endif |
70 #if defined(WEBRTC_CODEC_ISACFX) | 70 #if defined(WEBRTC_CODEC_ISACFX) |
71 NamedEncoderFactory::ForEncoder<AudioEncoderIsacFix>(), | 71 NamedEncoderFactory::ForEncoder<AudioEncoderIsacFixImpl>(), |
72 #elif defined(WEBRTC_CODEC_ISAC) | 72 #elif defined(WEBRTC_CODEC_ISAC) |
73 NamedEncoderFactory::ForEncoder<AudioEncoderIsac>(), | 73 NamedEncoderFactory::ForEncoder<AudioEncoderIsacFloatImpl>(), |
74 #endif | 74 #endif |
75 | 75 |
76 #ifdef WEBRTC_CODEC_OPUS | 76 #ifdef WEBRTC_CODEC_OPUS |
77 NamedEncoderFactory::ForEncoder<AudioEncoderOpus>(), | 77 NamedEncoderFactory::ForEncoder<AudioEncoderOpus>(), |
78 #endif | 78 #endif |
79 NamedEncoderFactory::ForEncoder<AudioEncoderPcm16B>(), | 79 NamedEncoderFactory::ForEncoder<AudioEncoderPcm16B>(), |
80 NamedEncoderFactory::ForEncoder<AudioEncoderPcmA>(), | 80 NamedEncoderFactory::ForEncoder<AudioEncoderPcmA>(), |
81 NamedEncoderFactory::ForEncoder<AudioEncoderPcmU>(), | 81 NamedEncoderFactory::ForEncoder<AudioEncoderPcmU>(), |
82 }; | 82 }; |
83 } // namespace | 83 } // namespace |
(...skipping 51 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 |