Chromium Code Reviews| Index: webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h |
| diff --git a/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h b/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..150a76ce10e6d83910302b2d663363e0e1925e40 |
| --- /dev/null |
| +++ b/webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory.h |
| @@ -0,0 +1,25 @@ |
| +/* |
| + * Copyright (c) 2017 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. |
| + */ |
| + |
| +#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_ENCODER_FACTORY_H_ |
| +#define WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_ENCODER_FACTORY_H_ |
| + |
| +#include "webrtc/base/scoped_ref_ptr.h" |
| +#include "webrtc/modules/audio_coding/codecs/audio_encoder_factory.h" |
| + |
| +namespace webrtc { |
| + |
| +// Creates a new factory that can create the built-in types of audio encoders. |
|
minyue-webrtc
2017/03/23 11:36:53
can a factory produce more than one audio encoder.
ossu
2017/03/23 12:01:59
Yes. It can create more than one and of more than
minyue-webrtc
2017/03/23 12:20:22
Acknowledged.
|
| +// NOTE: This function is still under development and may change without notice. |
| +rtc::scoped_refptr<AudioEncoderFactory> CreateBuiltinAudioEncoderFactory(); |
| + |
| +} // namespace webrtc |
| + |
| +#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_ENCODER_FACTORY_H_ |