1 /* 2 * Copyright 2018 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 11 #include "sdk/android/generated_builtin_audio_codecs_jni/BuiltinAudioEncoderFactoryFactory_jni.h" 12 #include "sdk/android/native_api/jni/java_types.h" 13 #include "sdk/android/src/jni/jni_helpers.h" 14 15 #include "api/audio_codecs/builtin_audio_encoder_factory.h" 16 17 namespace webrtc { 18 namespace jni { 19 20 static jlong JNI_BuiltinAudioEncoderFactoryFactory_CreateBuiltinAudioEncoderFactory(JNIEnv * env)21JNI_BuiltinAudioEncoderFactoryFactory_CreateBuiltinAudioEncoderFactory( 22 JNIEnv* env) { 23 return NativeToJavaPointer(CreateBuiltinAudioEncoderFactory().release()); 24 } 25 26 } // namespace jni 27 } // namespace webrtc 28