FFSampledSP
Functions
FFCodecInputStream.c File Reference
#include "com_tagtraum_ffsampledsp_FFCodecInputStream.h"
#include "FFUtils.h"
#include <math.h>

Go to the source code of this file.

Functions

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. More...
 

Function Documentation

◆ Java_com_tagtraum_ffsampledsp_FFCodecInputStream_open()

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.

Parameters
envJNIEnv
objectstream instance this call stems from, i.e. a FFCodecInputStream
target_formattarget AudioFormat
aio_pointerPointer to the FFAudioIO struct of the FFNativePeerInputStream that opened the file/stream
Returns
pointer to the FFAudioIO struct that was given as parameter

Definition at line 70 of file FFCodecInputStream.c.