Home | History | Annotate | Download | only in audio_loopback
      1 /*
      2  * Copyright (C) 2015 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #include <jni.h>
     18 
     19 #ifndef _Included_org_drrickorang_loopback_jni
     20 #define _Included_org_drrickorang_loopback_jni
     21 #ifdef __cplusplus
     22 extern "C" {
     23 #endif
     24 
     25 
     26 ////////////////////////
     27 JNIEXPORT jlong JNICALL Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit
     28   (JNIEnv *, jobject, jint, jint, jint );
     29 
     30 JNIEXPORT jint JNICALL Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext
     31   (JNIEnv *, jobject , jlong, jdoubleArray, jlong );
     32 
     33 JNIEXPORT jint JNICALL Java_com_android_cts_verifier_audio_NativeAudioThread_slesDestroy
     34   (JNIEnv *, jobject , jlong );
     35 
     36 
     37 #ifdef __cplusplus
     38 }
     39 #endif
     40 #endif //_Included_org_drrickorang_loopback_jni
     41