|
CASampledSP
|
Go to the source code of this file.
Functions | |
| JNIEXPORT void JNICALL | Java_com_tagtraum_casampledsp_CAStreamInputStream_fillNativeBuffer (JNIEnv *env, jobject stream, jlong asioPtr, jbyteArray buf, jint length) |
| Called by the Java code to fill the native buffer. | |
| JNIEXPORT jlong JNICALL | Java_com_tagtraum_casampledsp_CAStreamInputStream_open (JNIEnv *env, jobject stream, jint hint, jint bufferSize) |
| Opens the audio stream - at this point only the callbacks are set up via AudioFileStreamOpen. | |
| JNIEXPORT void JNICALL | Java_com_tagtraum_casampledsp_CAStreamInputStream_close (JNIEnv *env, jobject stream, jlong asioPtr) |
| Closes the stream and all associated resources. | |
| JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CAStreamInputStream_close | ( | JNIEnv * | env, |
| jobject | stream, | ||
| jlong | asioPtr ) |
Closes the stream and all associated resources.
| env | JNI env |
| stream | calling stream instance |
| asioPtr | pointer to CAAudioStreamIO |
Definition at line 297 of file CAStreamInputStream.cpp.
| JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CAStreamInputStream_fillNativeBuffer | ( | JNIEnv * | env, |
| jobject | stream, | ||
| jlong | asioPtr, | ||
| jbyteArray | buf, | ||
| jint | length ) |
Called by the Java code to fill the native buffer.
| env | JNI env |
| stream | stream instance |
| asioPtr | pointer to CAAudioStreamIO |
| buf | byte array with the first X bytes of data |
| length | length of the byte buffer |
Definition at line 212 of file CAStreamInputStream.cpp.
| JNIEXPORT jlong JNICALL Java_com_tagtraum_casampledsp_CAStreamInputStream_open | ( | JNIEnv * | env, |
| jobject | stream, | ||
| jint | hint, | ||
| jint | bufferSize ) |
Opens the audio stream - at this point only the callbacks are set up via AudioFileStreamOpen.
| env | JNI env |
| stream | Java stream instance |
| hint | file type hint |
Definition at line 248 of file CAStreamInputStream.cpp.