#include <jni.h>
Go to the source code of this file.
◆ com_tagtraum_ffsampledsp_FFCodecInputStream_DEFAULT_NATIVE_BUFFER_SIZE
#define com_tagtraum_ffsampledsp_FFCodecInputStream_DEFAULT_NATIVE_BUFFER_SIZE 32768L |
◆ com_tagtraum_ffsampledsp_FFCodecInputStream_MAX_SKIP_BUFFER_SIZE
#define com_tagtraum_ffsampledsp_FFCodecInputStream_MAX_SKIP_BUFFER_SIZE 2048L |
◆ Java_com_tagtraum_ffsampledsp_FFCodecInputStream_open()
JNIEXPORT jlong JNICALL Java_com_tagtraum_ffsampledsp_FFCodecInputStream_open |
( |
JNIEnv * |
env, |
|
|
jobject |
object, |
|
|
jobject |
target_format, |
|
|
jlong |
aio_pointer |
|
) |
| |
Re-configures SwrContext and Encoder to match the provided target_format.
- Parameters
-
env | JNIEnv |
object | stream instance this call stems from, i.e. a FFCodecInputStream |
target_format | target AudioFormat |
aio_pointer | Pointer to the FFAudioIO struct of the FFNativePeerInputStream that opened the file/stream |
- Returns
- pointer to the FFAudioIO struct that was given as parameter
Definition at line 70 of file FFCodecInputStream.c.