Cricket Audio
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
CkConfig

Classes

struct  CkConfig
 Configuration options. More...
 

Typedefs

typedef void *(* CkAllocFunc )(int bytes)
 Memory allocation function.
 
typedef void(* CkFreeFunc )(void *)
 Memory deallocation function.
 
typedef void(* CkLogFunc )(CkLogType, const char *msg)
 log message function
 

Enumerations

enum  CkLogType {
  kCkLog_Info = (1 << 0),
  kCkLog_Warning = (1 << 1),
  kCkLog_Error = (1 << 2),
  kCkLog_None = 0,
  kCkLog_All = (kCkLog_Info | kCkLog_Warning | kCkLog_Error)
}
 log message types
 

Functions

void CkConfigInit (CkConfig *, JNIEnv *env, jobject activity)
 If you are using Objective-C, call CkConfigInit() to initialize the CkConfig struct to its default values.
 

Variables

const float CkConfig_audioUpdateMsDefault
 Default value of CkConfig.audioUpdateMs.
 
const float CkConfig_streamBufferMsDefault
 Default value of CkConfig.streamBufferMs.
 
const float CkConfig_streamFileUpdateMsDefault
 Default value of CkConfig.streamFileUpdateMs.
 

Detailed Description

Function Documentation

void CkConfigInit ( CkConfig *  ,
JNIEnv *  env,
jobject  activity 
)

If you are using Objective-C, call CkConfigInit() to initialize the CkConfig struct to its default values.

(If you are using C++, it is called for you by the CkConfig constructor.)