CASampledSP
Functions
CAAudioFileReader.cpp File Reference
#include "com_tagtraum_casampledsp_CAAudioFileReader.h"
#include "CAUtils.h"

Go to the source code of this file.

Functions

JNIEXPORT jobject JNICALL Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat__Ljava_lang_String_2 (JNIEnv *env, jobject instance, jstring url)
 Creates a CoreAudioFileFormat for a URL. More...
 
JNIEXPORT jobject JNICALL Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat___3BII (JNIEnv *env, jobject instance, jbyteArray byteArray, jint length, jint hint)
 Creates a CoreAudioFileFormat for the first X bytes of a stream. More...
 

Function Documentation

◆ Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat___3BII()

JNIEXPORT jobject JNICALL Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat___3BII ( JNIEnv *  env,
jobject  instance,
jbyteArray  byteArray,
jint  length,
jint  hint 
)

Creates a CoreAudioFileFormat for the first X bytes of a stream.

Parameters
envJNI env
instancestream instance
byteArrayfirst X bytes
lengthof the byte array
hintfile type hint
Returns
Java CoreAudioFileFormat object

Definition at line 204 of file CAAudioFileReader.cpp.

◆ Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat__Ljava_lang_String_2()

JNIEXPORT jobject JNICALL Java_com_tagtraum_casampledsp_CAAudioFileReader_intGetAudioFormat__Ljava_lang_String_2 ( JNIEnv *  env,
jobject  instance,
jstring  url 
)

Creates a CoreAudioFileFormat for a URL.

Parameters
envJNI env
instancestream instance
urlURL
Returns
Java CoreAudioFileFormat object

Definition at line 67 of file CAAudioFileReader.cpp.