|
FFSampledSP
|
Go to the source code of this file.
Functions | |
| JNIEXPORT void JNICALL | Java_com_tagtraum_ffsampledsp_FFCodecInputStream_initIDs (JNIEnv *env, jclass streamClass) |
| Init static method and field ids for Java methods/fields. | |
| 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. | |
| JNIEXPORT void JNICALL Java_com_tagtraum_ffsampledsp_FFCodecInputStream_initIDs | ( | JNIEnv * | env, |
| jclass | streamClass ) |
Init static method and field ids for Java methods/fields.
Called exactly once from the static initializer of FFCodecInputStream. Because the JVM serializes class initialization, the ids are guaranteed to be set before any thread can call into native code with a stream instance.
| env | JNIEnv |
| streamClass | FFCodecInputStream class |
Definition at line 46 of file FFCodecInputStream.c.
| 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.
| 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 |
Definition at line 97 of file FFCodecInputStream.c.