Class SEQAudioCommand

java.lang.Object
org.monte.media.seq.SEQAudioCommand

public class SEQAudioCommand extends Object
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 Details

    • COMMAND_PLAY_SOUND

      public static final int COMMAND_PLAY_SOUND
      Start playing a sound.
      See Also:
    • COMMAND_STOP_SOUND

      public static final int COMMAND_STOP_SOUND
      Stop the sound in a given channelMask.
      See Also:
    • COMMAND_SET_FREQVOL

      public static final int COMMAND_SET_FREQVOL
      Change frequency/volume for a channelMask.
      See Also:
    • FLAG_NO_INTERRUPT

      public static final int FLAG_NO_INTERRUPT
      Play 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

      public void prepare(SEQMovieTrack track)
    • play

      public void play(SEQMovieTrack track)
    • stop

      public void stop(SEQMovieTrack track)
    • stop

      public void stop(SEQMovieTrack track, int channelMask)
      Stops playback of this audio command on the specified channels.
    • doCommand

      public void doCommand(SEQMovieTrack track, SEQAudioCommand[] runningCommands)
    • dispose

      public void dispose()