|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.media.seq.SEQAudioCommand
public class SEQAudioCommand
An SEQAudioCommand handles an audio command that is associated to a single frame of a SEQMovieTrack. This class is currently unused.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SEQAudioCommand(int command,
int volume,
int sound,
int repeats,
int channelMask,
int frequency,
int flags)
Creates a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SEQAudioCommand(int command,
int volume,
int sound,
int repeats,
int channelMask,
int frequency,
int flags)
| Method Detail |
|---|
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()
|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||