public class SEQAudioCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_PLAY_SOUND
Start playing a sound.
|
static int |
COMMAND_SET_FREQVOL
Change frequency/volume for a channelMask.
|
static int |
COMMAND_STOP_SOUND
Stop the sound in a given channelMask.
|
static int |
FLAG_NO_INTERRUPT
Play the sound, but only if
the channelMask isn't in use.
|
Constructor and Description |
---|
SEQAudioCommand(int command,
int volume,
int sound,
int repeats,
int channelMask,
int frequency,
int flags)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
doCommand(SEQMovieTrack track,
SEQAudioCommand[] runningCommands) |
int |
getChannelMask() |
int |
getCommand() |
int |
getFrequency() |
int |
getSound() |
int |
getVolume() |
void |
play(SEQMovieTrack track) |
void |
prepare(SEQMovieTrack track) |
void |
stop(SEQMovieTrack track) |
void |
stop(SEQMovieTrack track,
int channelMask)
Stops playback of this audio command on the specified channels.
|
public static final int COMMAND_PLAY_SOUND
public static final int COMMAND_STOP_SOUND
public static final int COMMAND_SET_FREQVOL
public static final int FLAG_NO_INTERRUPT
public SEQAudioCommand(int command, int volume, int sound, int repeats, int channelMask, int frequency, int flags)
public int getChannelMask()
public int getFrequency()
public int getSound()
public int getVolume()
public int getCommand()
public void prepare(SEQMovieTrack track)
public void play(SEQMovieTrack track)
public void stop(SEQMovieTrack track)
public void stop(SEQMovieTrack track, int channelMask)
public void doCommand(SEQMovieTrack track, SEQAudioCommand[] runningCommands)
public void dispose()