Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
U
A
Asset
- Static variable in class com.crickettechnology.audio.
PathType
A path to an asset in the .apk.
AttenuationMode
- Class in
com.crickettechnology.audio
Indicates how volume on 3D sounds is attenuated with distance.
AudioUpdateMs
- Variable in class com.crickettechnology.audio.
Config
Audio processing frame duration, in ms.
B
Bank
- Class in
com.crickettechnology.audio
A bank of memory-resident sounds.
C
Ck
- Class in
com.crickettechnology.audio
The Cricket interface.
com.crickettechnology.audio
- package com.crickettechnology.audio
Config
- Class in
com.crickettechnology.audio
Configuration options for the Engine.
Config()
- Constructor for class com.crickettechnology.audio.
Config
D
Default
- Static variable in class com.crickettechnology.audio.
PathType
The default path type.
E
EnableOggVorbis
- Variable in class com.crickettechnology.audio.
Config
If true, software support for Ogg Vorbis stream sounds is enabled.
ExternalStorage
- Static variable in class com.crickettechnology.audio.
PathType
A path relative to the external storage directory.
F
FileSystem
- Static variable in class com.crickettechnology.audio.
PathType
A full path to a file on the file system.
find(String)
- Static method in class com.crickettechnology.audio.
Bank
Find a loaded bank by name.
find(String)
- Static method in class com.crickettechnology.audio.
Mixer
Finds a mixer by name.
FloatRef
- Class in
com.crickettechnology.audio
Mutable float container, used for emulating float C++ reference parameters.
FloatRef()
- Constructor for class com.crickettechnology.audio.
FloatRef
G
get()
- Method in class com.crickettechnology.audio.
FloatRef
Get the value
get()
- Method in class com.crickettechnology.audio.
IntRef
Get the value
get()
- Method in class com.crickettechnology.audio.
ObjectRef
Get the object
get3dAttenuation(ObjectRef<AttenuationMode>, FloatRef, FloatRef, FloatRef)
- Static method in class com.crickettechnology.audio.
Sound
Gets parameters used for 3D volume attenuation.
get3dListenerPosition(FloatRef, FloatRef, FloatRef, FloatRef, FloatRef, FloatRef, FloatRef, FloatRef, FloatRef)
- Static method in class com.crickettechnology.audio.
Sound
Gets the listener position and rotation in 3D space.
get3dListenerVelocity(FloatRef, FloatRef, FloatRef)
- Static method in class com.crickettechnology.audio.
Sound
Gets the listener velocity in 3D space.
get3dPosition(FloatRef, FloatRef, FloatRef)
- Method in class com.crickettechnology.audio.
Sound
Gets the position of the sound emitter in 3D space.
get3dSoundSpeed()
- Static method in class com.crickettechnology.audio.
Sound
Gets the speed of sound.
get3dVelocity(FloatRef, FloatRef, FloatRef)
- Method in class com.crickettechnology.audio.
Sound
Gets the velocity of the sound emitter in 3D space.
getChannels()
- Method in class com.crickettechnology.audio.
Sound
Gets the number of channels in the sound (1 for mono, 2 for stereo).
getCurrentLoop()
- Method in class com.crickettechnology.audio.
Sound
Gets the number of the current loop.
getLength()
- Method in class com.crickettechnology.audio.
Sound
Gets the total duration of the sound, in sample frames.
getLengthMs()
- Method in class com.crickettechnology.audio.
Sound
Gets the total duration of the sound, in milliseconds.
getLoop(IntRef, IntRef)
- Method in class com.crickettechnology.audio.
Sound
Get the loop start and end.
getLoopCount()
- Method in class com.crickettechnology.audio.
Sound
Gets the number of times the sound should loop.
getMaster()
- Static method in class com.crickettechnology.audio.
Mixer
Returns the master mixer, which is the root of the mixer hierarchy.
getMixedVolume()
- Method in class com.crickettechnology.audio.
Mixer
Returns the volume used for mixing (affected by ancestors).
getMixedVolume()
- Method in class com.crickettechnology.audio.
Sound
Gets the volume value used for mixing.
getMixer()
- Method in class com.crickettechnology.audio.
Sound
Gets the mixer to which this sound is assigned.
getName()
- Method in class com.crickettechnology.audio.
Bank
Returns the name of the bank.
getName()
- Method in class com.crickettechnology.audio.
Mixer
Returns the name of the mixer.
getNumSounds()
- Method in class com.crickettechnology.audio.
Bank
Returns the number of sounds in the bank.
getPan()
- Method in class com.crickettechnology.audio.
Sound
Gets the pan.
getPanMatrix(FloatRef, FloatRef, FloatRef, FloatRef)
- Method in class com.crickettechnology.audio.
Sound
Gets the pan matrix.
getParent()
- Method in class com.crickettechnology.audio.
Mixer
Returns the parent of the mixer.
getPitchShift()
- Method in class com.crickettechnology.audio.
Sound
Gets the pitch shift value, in half-steps.
getPlayPosition()
- Method in class com.crickettechnology.audio.
Sound
Get the current play position in the sound, in sample frames.
getPlayPositionMs()
- Method in class com.crickettechnology.audio.
Sound
Get the current play position in the sound, in milliseconds.
getSampleRate()
- Method in class com.crickettechnology.audio.
Sound
Gets the sample rate of the sound, in Hz.
getSoundName(int)
- Method in class com.crickettechnology.audio.
Bank
Returns the name of a sound in this bank.
getSpeed()
- Method in class com.crickettechnology.audio.
Sound
Gets the playback speed.
getVolume()
- Method in class com.crickettechnology.audio.
Mixer
Returns the local volume.
getVolume()
- Method in class com.crickettechnology.audio.
Sound
Gets the volume.
getVolumeRampTime()
- Static method in class com.crickettechnology.audio.
Ck
Gets the maximum rate at which volumes change on playing sounds, in ms per full volume scale.
I
init(Activity)
- Static method in class com.crickettechnology.audio.
Ck
Initializes Cricket Audio.
init(Activity, Config)
- Static method in class com.crickettechnology.audio.
Ck
Initializes Cricket Audio.
IntRef
- Class in
com.crickettechnology.audio
Mutable integer container, used for emulating int C++ reference parameters.
IntRef()
- Constructor for class com.crickettechnology.audio.
IntRef
InvDistance
- Static variable in class com.crickettechnology.audio.
AttenuationMode
Attenuation proportional to the reciprocal of the distance.
InvDistanceSquared
- Static variable in class com.crickettechnology.audio.
AttenuationMode
Attenuation proportional to the square of the reciprocal of the distance.
is3dEnabled()
- Method in class com.crickettechnology.audio.
Sound
Gets whether 3D positioning is enabled.
isFailed()
- Method in class com.crickettechnology.audio.
Bank
Returns true if an asynchronously loaded bank had an error during loading.
isFailed()
- Method in class com.crickettechnology.audio.
Sound
Returns true if an error occurred while creating the sound.
isLoaded()
- Method in class com.crickettechnology.audio.
Bank
Returns true when an asynchronously loaded bank has finished loading.
isPaused()
- Method in class com.crickettechnology.audio.
Sound
Gets whether the sound is paused.
isPlaying()
- Method in class com.crickettechnology.audio.
Sound
Gets whether the sound is playing.
isReady()
- Method in class com.crickettechnology.audio.
Sound
Returns true if the sound is ready.
L
Linear
- Static variable in class com.crickettechnology.audio.
AttenuationMode
Linear attenuation of volume between near distance and far distance.
LOG_ALL
- Static variable in class com.crickettechnology.audio.
Config
LOG_ERROR
- Static variable in class com.crickettechnology.audio.
Config
LOG_INFO
- Static variable in class com.crickettechnology.audio.
Config
LOG_NONE
- Static variable in class com.crickettechnology.audio.
Config
LOG_WARNING
- Static variable in class com.crickettechnology.audio.
Config
LogFile
- Variable in class com.crickettechnology.audio.
Config
Log file in which messages are saved.
LogMask
- Variable in class com.crickettechnology.audio.
Config
Bitmask for which types of messages are logged.
M
Mixer
- Class in
com.crickettechnology.audio
An object in the mixing hierarchy.
N
NativeDebug
- Variable in class com.crickettechnology.audio.
Config
If true, the debug version of the native library (libckjava_d.so) is loaded, instead of the release version (libckjava.so).
newBank(String, PathType)
- Static method in class com.crickettechnology.audio.
Bank
Loads a bank.
newBank(String)
- Static method in class com.crickettechnology.audio.
Bank
Loads a bank from an asset in the .apk.
newBankAsync(String, PathType)
- Static method in class com.crickettechnology.audio.
Bank
Loads a bank asynchronously.
newBankAsync(String)
- Static method in class com.crickettechnology.audio.
Bank
Loads a bank asynchronously from an asset in the .apk.
newBankSound(Bank, int)
- Static method in class com.crickettechnology.audio.
Sound
Creates a sound from a bank.
newBankSound(Bank, String)
- Static method in class com.crickettechnology.audio.
Sound
Creates a sound from a bank.
newMixer(String, Mixer)
- Static method in class com.crickettechnology.audio.
Mixer
Creates a new mixer.
newMixer(String)
- Static method in class com.crickettechnology.audio.
Mixer
Creates a new mixer.
newNetworkStreamSound(String)
- Static method in class com.crickettechnology.audio.
Sound
Creates an HTTP network streaming sound
newStreamSound(String, PathType)
- Static method in class com.crickettechnology.audio.
Sound
Creates a streaming sound.
newStreamSound(String)
- Static method in class com.crickettechnology.audio.
Sound
Creates a streaming sound from an asset in the .apk.
None
- Static variable in class com.crickettechnology.audio.
AttenuationMode
No attenuation; volume is 1.0 when closer than the far distance, and far volume outside of that.
O
ObjectRef
<
T
> - Class in
com.crickettechnology.audio
Mutable object container, used for emulating C++ reference parameters.
ObjectRef()
- Constructor for class com.crickettechnology.audio.
ObjectRef
P
PathType
- Class in
com.crickettechnology.audio
Indicates how a file path should be interpreted.
play()
- Method in class com.crickettechnology.audio.
Sound
Play the sound.
PrivateFiles
- Static variable in class com.crickettechnology.audio.
PathType
A path relative to the private files directory.
R
releaseLoop()
- Method in class com.crickettechnology.audio.
Sound
Makes the current loop the last.
resume()
- Static method in class com.crickettechnology.audio.
Ck
Resumes Cricket Audio.
S
set(float)
- Method in class com.crickettechnology.audio.
FloatRef
Set the value
set(int)
- Method in class com.crickettechnology.audio.
IntRef
Set the value
set(T)
- Method in class com.crickettechnology.audio.
ObjectRef
Set the object
set3dAttenuation(AttenuationMode, float, float, float)
- Static method in class com.crickettechnology.audio.
Sound
Sets parameters used for 3D volume attenuation.
set3dEnabled(boolean)
- Method in class com.crickettechnology.audio.
Sound
Sets whether 3D positioning is enabled.
set3dListenerPosition(float, float, float, float, float, float, float, float, float)
- Static method in class com.crickettechnology.audio.
Sound
Sets the listener position and rotation in 3D space.
set3dListenerVelocity(float, float, float)
- Static method in class com.crickettechnology.audio.
Sound
Sets the listener velocity in 3D space.
set3dPosition(float, float, float)
- Method in class com.crickettechnology.audio.
Sound
Sets the position of the sound emitter in 3D space.
set3dSoundSpeed(float)
- Static method in class com.crickettechnology.audio.
Sound
Sets the speed of sound.
set3dVelocity(float, float, float)
- Method in class com.crickettechnology.audio.
Sound
Sets the velocity of the sound emitter in 3D space.
setLoop(int, int)
- Method in class com.crickettechnology.audio.
Sound
Set the loop start and end.
setLoopCount(int)
- Method in class com.crickettechnology.audio.
Sound
Sets the number of times the sound should loop.
setMixer(Mixer)
- Method in class com.crickettechnology.audio.
Sound
Sets the mixer to which this sound is assigned.
setName(String)
- Method in class com.crickettechnology.audio.
Mixer
Sets the name of the mixer.
setPan(float)
- Method in class com.crickettechnology.audio.
Sound
Sets the pan.
setPanMatrix(float, float, float, float)
- Method in class com.crickettechnology.audio.
Sound
Sets the pan matrix explicitly.
setParent(Mixer)
- Method in class com.crickettechnology.audio.
Mixer
Sets the parent of the mixer.
setPaused(boolean)
- Method in class com.crickettechnology.audio.
Sound
Sets whether the sound is paused.
setPitchShift(float)
- Method in class com.crickettechnology.audio.
Sound
Sets the pitch shift value, in half-steps.
setPlayPosition(int)
- Method in class com.crickettechnology.audio.
Sound
Set the play position in the sound, in sample frames.
setPlayPositionMs(float)
- Method in class com.crickettechnology.audio.
Sound
Set the play position in the sound, in milliseconds.
setSpeed(float)
- Method in class com.crickettechnology.audio.
Sound
Sets the playback speed.
setVolume(float)
- Method in class com.crickettechnology.audio.
Mixer
Sets the local volume.
setVolume(float)
- Method in class com.crickettechnology.audio.
Sound
Sets the volume.
setVolumeRampTime(float)
- Static method in class com.crickettechnology.audio.
Ck
Sets the maximum rate at which volumes change on playing sounds, in ms per full volume scale.
shutdown()
- Static method in class com.crickettechnology.audio.
Ck
Shuts down Cricket Audio.
Sound
- Class in
com.crickettechnology.audio
A sound (either memory-resident or streamed).
SOUND_SPEED_CENTIMETERS_PER_SECOND
- Static variable in class com.crickettechnology.audio.
Sound
The speed of sound in dry air at 20 degrees C, in centimeters per second.
SOUND_SPEED_FEET_PER_SECOND
- Static variable in class com.crickettechnology.audio.
Sound
The speed of sound in dry air at 20 degrees C, in feet per second.
SOUND_SPEED_INCHES_PER_SECOND
- Static variable in class com.crickettechnology.audio.
Sound
The speed of sound in dry air at 20 degrees C, in inches per second.
SOUND_SPEED_METERS_PER_SECOND
- Static variable in class com.crickettechnology.audio.
Sound
The speed of sound in dry air at 20 degrees C, in meters per second.
stop()
- Method in class com.crickettechnology.audio.
Sound
Stop the sound.
StreamBufferMs
- Variable in class com.crickettechnology.audio.
Config
Size of buffer for stream sounds.
StreamFileUpdateMs
- Variable in class com.crickettechnology.audio.
Config
Interval between file reads for stream sounds, in ms.
suspend()
- Static method in class com.crickettechnology.audio.
Ck
Suspends Cricket Audio.
U
update()
- Static method in class com.crickettechnology.audio.
Ck
Updates Cricket Audio.
UseJavaAudio
- Variable in class com.crickettechnology.audio.
Config
If true, always use Java audio output instead of OpenSL ES.
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes