#include <jni.h>
Go to the source code of this file.
◆ com_tagtraum_casampledsp_CAStreamInputStream_MAX_SKIP_BUFFER_SIZE
#define com_tagtraum_casampledsp_CAStreamInputStream_MAX_SKIP_BUFFER_SIZE 2048L |
◆ Java_com_tagtraum_casampledsp_CAStreamInputStream_close()
JNIEXPORT void JNICALL Java_com_tagtraum_casampledsp_CAStreamInputStream_close |
( |
JNIEnv * |
env, |
|
|
jobject |
stream, |
|
|
jlong |
asioPtr |
|
) |
| |
◆ Java_com_tagtraum_casampledsp_CAStreamInputStream_fillNativeBuffer()
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.
- Parameters
-
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.
◆ Java_com_tagtraum_casampledsp_CAStreamInputStream_open()
JNIEXPORT jlong JNICALL Java_com_tagtraum_casampledsp_CAStreamInputStream_open |
( |
JNIEnv * |
env, |
|
|
jobject |
stream, |
|
|
jint |
hint |
|
) |
| |
Opens the audio stream - at this point only the callbacks are set up via AudioFileStreamOpen.
- Parameters
-
env | JNI env |
stream | Java stream instance |
hint | file type hint |
- Returns
- pointer to CAAudioStreamIO struct
Definition at line 249 of file CAStreamInputStream.cpp.