|
Public Member Functions |
native void | closeAudio () |
| Close mixer.
|
native int | getFrequency () |
| Get the actual frequency of opened audio device .
|
native int | getFormat () |
| Get the actual format of opened audio device .
|
native int | getChannels () |
| Get the actual number of audio channels.
|
native int | groupChannel (int channel, int tag) |
| Add which channel to group tag.
|
native int | groupChannels (int fromChannel, int toChannel, int tag) |
| Add which channel to group tag.
|
native int | groupAvailable (int tag) |
| Find the first available (not playing) channel in group tag.
|
native int | groupCount (int tag) |
| Count the number of channels in group tag.
|
native int | groupOldest (int tag) |
| Find the oldest actively playing channel in group tag.
|
native int | groupNewer (int tag) |
| Find the newest, most recently started, actively playing channel in group tag.
|
native int | allocateChannels (int numberOfChannels) |
| Set the number of channels for this mixer.
|
native boolean | playing (int channel) |
| Check the status of specified channel.
|
boolean | playing () |
| Check the status of all channels.
|
native boolean | playingMusic () |
| Check the status of music playing.
|
native int | playChannel (int channel, Chunk chunk, int loops, int ticks) |
| Play an audio chunk on a specific channel.
|
int | playChannel (Chunk chunk, int loops, int ticks) |
| Play an audio chunk on a first free channel.
|
int | playChannel (int channel, Chunk chunk, int loops) |
| Play an audio chunk on a specified channel.
|
int | playChannel (Chunk chunk, int loops) |
| Play an audio chunk on a first free channel.
|
int | playChannel (Chunk chunk) |
| Play an audio chunk on a first free channel.
|
native int | fadeInChannel (int channel, Chunk chunk, int loops, int fadeTime, int ticks) |
| Play an audio chunk on a specific channel.
|
int | fadeInChannel (int channel, Chunk chunk, int loops, int fadeTime) |
| Play an audio chunk on a specific channel.
|
int | fadeInChannel (int channel, Chunk chunk, int fadeTime) |
| Play an audio chunk on a specific channel.
|
int | fadeInChannel (Chunk chunk, int fadeTime) |
| Play an audio chunk on a specific channel.
|
native void | playMusic (Music music, int loops) |
| Play an audio chunk on a first free channel.
|
void | playMusic (Music music) |
| Play the music.
|
native void | fadeInMusic (Music music, int loops, int ticks) |
| Play the music with fadein effect.
|
void | fadeInMusic (Music music, int ticks) |
| Play the music with fadein effect.
|
native void | fadeInMusicPos (Music music, int loops, int ticks, double position) |
| Play the music with fadein effect.
|
void | fadeInMusicPos (Music music, int ticks, double position) |
| Play the music with Fadein effect.
|
native void | pause (int channel) |
| Pause specified channel.
|
native void | resume (int channel) |
| Resume specified channel.
|
native boolean | paused (int channel) |
| Get pause status of a specified channel.
|
native void | pauseMusic () |
| Pause music stream.
|
native void | resumeMusic () |
| Resume music stream.
|
native void | rewindMusic () |
| Rewind music stream.
|
native boolean | pausedMusic () |
| Get pause status of music stream.
|
native void | setMusicPosition (double position) |
| Set position of playback in stream.
|
native int | volume (int channel, int volume) |
| Set channel volume.
|
int | getVolume (int channel) |
| Get channel volume.
|
void | setVolume (int volume) |
| Set volume for all channels.
|
native int | volumeMusic (int volume) |
| Set music volume.
|
void | setVolumeMusic (int volume) |
| Set music volume.
|
int | getVolumeMusic () |
| Get current music volume.
|
native int | haltChannel (int channel) |
| Halt playing of a specified channel.
|
native int | haltGroup (int tag) |
| Halt playing of a specified group.
|
native int | haltMusic () |
| Halt music playing.
|
native int | expireChannel (int channel, int ticks) |
| Change the expiration delay for a particular channel.
|
native int | fadeOutChannel (int channel, int ms) |
| Set fade out effect for a particular channel.
|
native int | fadeOutGroup (int tag, int ms) |
| Set fade out effect for a particular group.
|
native int | fadeOutMusic (int ms) |
| Set fade out effect music stream.
|
native int | fadingMusic () |
| Get fading status of music stream.
|
native int | fadingChannel (int channel) |
| Get fading status of specified channel.
|
native void | setPanning (int channel, short left, short right) |
| Set panning filer.
|
native void | setPosition (int channel, short angle, short distance) |
| Set position filer.
|
native void | setDistance (int channel, short distance) |
| Set distance filer.
|
native void | setReverseStereo (int channel, boolean flip) |
| Set reverse stereo.
|
native int | reserveChannels (int num) |
| Reserve the first channels (0 - n-1) for the application,.
|
Static Public Member Functions |
native Mixer | openAudio (int frequency, int format, int channels, int chunksize) |
| Initialize audio device and mixer.
|
Mixer | openAudio (int chunksize) |
| Initialize audio device and mixer.
|
Mixer | openAudio () |
native Version | compiledVersion () |
| Get version of compiled library.
|
native Version | linkedVersion () |
| Get version of linked library .
|
Private Member Functions |
| Mixer () |