CASampledSP
Loading...
Searching...
No Matches
Functions
CAUtils.cpp File Reference
#include "CAUtils.h"

Go to the source code of this file.

Functions

void throwUnsupportedAudioFileExceptionIfError (JNIEnv *env, int err, const char *message)
 Throws an UnsupportedAudioFileException exception.
 
void throwIOExceptionIfError (JNIEnv *env, int err, const char *message)
 Throws an IOException.
 
void throwIllegalArgumentExceptionIfError (JNIEnv *env, int err, const char *message)
 Throws an IllegalArgumentException.
 
void throwFileNotFoundExceptionIfError (JNIEnv *env, int err, const char *message)
 Throws an IllegalArgumentException.
 
void ca_create_url_ref (JNIEnv *env, jstring path, CFURLRef &urlRef)
 Creates a CFURLRef from the given path.
 

Function Documentation

◆ ca_create_url_ref()

void ca_create_url_ref ( JNIEnv *  env,
jstring  path,
CFURLRef &  urlRef 
)

Creates a CFURLRef from the given path.

Returns true if an error occurred.

Definition at line 101 of file CAUtils.cpp.

◆ throwFileNotFoundExceptionIfError()

void throwFileNotFoundExceptionIfError ( JNIEnv *  env,
int  err,
const char *  message 
)

Throws an IllegalArgumentException.

Definition at line 90 of file CAUtils.cpp.

◆ throwIllegalArgumentExceptionIfError()

void throwIllegalArgumentExceptionIfError ( JNIEnv *  env,
int  err,
const char *  message 
)

Throws an IllegalArgumentException.

Definition at line 73 of file CAUtils.cpp.

◆ throwIOExceptionIfError()

void throwIOExceptionIfError ( JNIEnv *  env,
int  err,
const char *  message 
)

Throws an IOException.

Definition at line 56 of file CAUtils.cpp.

◆ throwUnsupportedAudioFileExceptionIfError()

void throwUnsupportedAudioFileExceptionIfError ( JNIEnv *  env,
int  err,
const char *  message 
)

Throws an UnsupportedAudioFileException exception.

Definition at line 39 of file CAUtils.cpp.