FFSampledSP
com_tagtraum_ffsampledsp_FFStreamInputStream.h
Go to the documentation of this file.
1 /* DO NOT EDIT THIS FILE - it is machine generated */
2 #include <jni.h>
3 /* Header for class com_tagtraum_ffsampledsp_FFStreamInputStream */
4 
5 #ifndef _Included_com_tagtraum_ffsampledsp_FFStreamInputStream
6 #define _Included_com_tagtraum_ffsampledsp_FFStreamInputStream
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #undef com_tagtraum_ffsampledsp_FFStreamInputStream_MAX_SKIP_BUFFER_SIZE
11 #define com_tagtraum_ffsampledsp_FFStreamInputStream_MAX_SKIP_BUFFER_SIZE 2048L
12 #undef com_tagtraum_ffsampledsp_FFStreamInputStream_DEFAULT_NATIVE_BUFFER_SIZE
13 #define com_tagtraum_ffsampledsp_FFStreamInputStream_DEFAULT_NATIVE_BUFFER_SIZE 32768L
14 /*
15  * Class: com_tagtraum_ffsampledsp_FFStreamInputStream
16  * Method: fillNativeBuffer
17  * Signature: (J)V
18  */
20  (JNIEnv *, jobject, jlong);
21 
22 /*
23  * Class: com_tagtraum_ffsampledsp_FFStreamInputStream
24  * Method: open
25  * Signature: (I)J
26  */
28  (JNIEnv *, jobject, jint);
29 
30 /*
31  * Class: com_tagtraum_ffsampledsp_FFStreamInputStream
32  * Method: close
33  * Signature: (J)V
34  */
36  (JNIEnv *, jobject, jlong);
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 #endif
JNIEXPORT void JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_fillNativeBuffer(JNIEnv *, jobject, jlong)
Fills the java-side buffer (allocated via Java code) with fresh audio data.
JNIEXPORT void JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_close(JNIEnv *, jobject, jlong)
Frees all resources associated with the given FFAudioIO.
JNIEXPORT jlong JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_open(JNIEnv *, jobject, jint)
Creates the FFAudioIO, custom AVIOContext etc for reading data from the stream.