CASampledSP
|
Go to the source code of this file.
Functions | |
JNIEXPORT void JNICALL | Java_com_tagtraum_casampledsp_CACodecInputStream_fillNativeBuffer (JNIEnv *env, jobject stream, jlong converterPtr) |
Fill this streams native buffer by transcoding the content of the source stream's native buffer to the desired format. | |
JNIEXPORT jlong JNICALL | Java_com_tagtraum_casampledsp_CACodecInputStream_open (JNIEnv *env, jobject stream, jobject targetFormat, jobject sourceStream, jlong pointer) |
Sets up an AudioConverter to convert data to the desired format. | |
JNIEXPORT void JNICALL | Java_com_tagtraum_casampledsp_CACodecInputStream_close (JNIEnv *env, jobject stream, jlong converterPtr) |
Closes the AudioConverter and cleans up other resources. | |
JNIEXPORT void JNICALL | Java_com_tagtraum_casampledsp_CACodecInputStream_reset (JNIEnv *env, jobject stream, jlong converterPtr) |
Resets the converter - necessary after seek() to flush codec buffers. | |
JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CACodecInputStream_close | ( | JNIEnv * | env, |
jobject | stream, | ||
jlong | converterPtr ) |
Closes the AudioConverter and cleans up other resources.
env | JNI env |
stream | calling stream object |
converterPtr | pointer to CAAudioConverterIO struct |
Definition at line 363 of file CACodecInputStream.cpp.
JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CACodecInputStream_fillNativeBuffer | ( | JNIEnv * | env, |
jobject | stream, | ||
jlong | converterPtr ) |
Fill this streams native buffer by transcoding the content of the source stream's native buffer to the desired format.
env | JNI env |
stream | calling stream object |
converterPtr | pointer to the used CAAudioConverterIO struct |
Definition at line 98 of file CACodecInputStream.cpp.
JNIEXPORT jlong JNICALL Java_com_tagtraum_casampledsp_CACodecInputStream_open | ( | JNIEnv * | env, |
jobject | stream, | ||
jobject | targetFormat, | ||
jobject | sourceStream, | ||
jlong | pointer ) |
Sets up an AudioConverter to convert data to the desired format.
env | JNI env |
stream | calling stream object |
targetFormat | target format |
sourceStream | source data stream |
pointer | pointer to the source data stream's CAAudioIO struct |
Definition at line 183 of file CACodecInputStream.cpp.
JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CACodecInputStream_reset | ( | JNIEnv * | env, |
jobject | stream, | ||
jlong | converterPtr ) |
Resets the converter - necessary after seek() to flush codec buffers.
env | JNI env |
stream | calling stream object |
converterPtr | pointer to CAAudioConverterIO struct |
Definition at line 390 of file CACodecInputStream.cpp.