Class SEQAudioCommand
java.lang.Object
org.monte.media.seq.SEQAudioCommand
An SEQAudioCommand handles an audio command that is associated to
a single frame of a SEQMovieTrack. This class is currently unused.
- Author:
- Werner Randelshofer, Hausmatt 10, CH-6405 Goldau, Switzerland
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intStart playing a sound.static final intChange frequency/volume for a channelMask.static final intStop the sound in a given channelMask.static final intPlay the sound, but only if the channelMask isn't in use. -
Constructor Summary
ConstructorsConstructorDescriptionSEQAudioCommand(int command, int volume, int sound, int repeats, int channelMask, int frequency, int flags) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voiddoCommand(SEQMovieTrack track, SEQAudioCommand[] runningCommands) intintintintgetSound()intvoidplay(SEQMovieTrack track) voidprepare(SEQMovieTrack track) voidstop(SEQMovieTrack track) voidstop(SEQMovieTrack track, int channelMask) Stops playback of this audio command on the specified channels.
-
Field Details
-
COMMAND_PLAY_SOUND
public static final int COMMAND_PLAY_SOUNDStart playing a sound.- See Also:
-
COMMAND_STOP_SOUND
public static final int COMMAND_STOP_SOUNDStop the sound in a given channelMask.- See Also:
-
COMMAND_SET_FREQVOL
public static final int COMMAND_SET_FREQVOLChange frequency/volume for a channelMask.- See Also:
-
FLAG_NO_INTERRUPT
public static final int FLAG_NO_INTERRUPTPlay the sound, but only if the channelMask isn't in use.- See Also:
-
-
Constructor Details
-
SEQAudioCommand
public SEQAudioCommand(int command, int volume, int sound, int repeats, int channelMask, int frequency, int flags) Creates a new instance.
-
-
Method Details
-
getChannelMask
public int getChannelMask() -
getFrequency
public int getFrequency() -
getSound
public int getSound() -
getVolume
public int getVolume() -
getCommand
public int getCommand() -
prepare
-
play
-
stop
-
stop
Stops playback of this audio command on the specified channels. -
doCommand
-
dispose
public void dispose()
-