#include <jni.h>
Go to the source code of this file.
◆ com_tagtraum_ffsampledsp_FFStreamInputStream_DEFAULT_NATIVE_BUFFER_SIZE
#define com_tagtraum_ffsampledsp_FFStreamInputStream_DEFAULT_NATIVE_BUFFER_SIZE 32768L |
◆ com_tagtraum_ffsampledsp_FFStreamInputStream_MAX_SKIP_BUFFER_SIZE
#define com_tagtraum_ffsampledsp_FFStreamInputStream_MAX_SKIP_BUFFER_SIZE 2048L |
◆ Java_com_tagtraum_ffsampledsp_FFStreamInputStream_close()
JNIEXPORT void JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_close |
( |
JNIEnv * |
env, |
|
|
jobject |
stream, |
|
|
jlong |
aio_pointer |
|
) |
| |
◆ Java_com_tagtraum_ffsampledsp_FFStreamInputStream_fillNativeBuffer()
JNIEXPORT void JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_fillNativeBuffer |
( |
JNIEnv * |
env, |
|
|
jobject |
stream, |
|
|
jlong |
aio_pointer |
|
) |
| |
Fills the java-side buffer (allocated via Java code) with fresh audio data.
- Parameters
-
env | JNIEnv |
stream | FFStreamInputStream instance |
aio_pointer | pointer to the FFAudioIO created when opening the file |
Definition at line 113 of file FFStreamInputStream.c.
◆ Java_com_tagtraum_ffsampledsp_FFStreamInputStream_open()
JNIEXPORT jlong JNICALL Java_com_tagtraum_ffsampledsp_FFStreamInputStream_open |
( |
JNIEnv * |
env, |
|
|
jobject |
stream, |
|
|
jint |
streamIndex |
|
) |
| |
Creates the FFAudioIO, custom AVIOContext etc for reading data from the stream.
- Parameters
-
env | JNIEnv |
stream | calling FFStreamInputStream instance |
- Returns
- pointer to the created FFAudioIO
Definition at line 132 of file FFStreamInputStream.c.