|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.SoundInfo
public class SoundInfo
A Sound Information structure - defines playback style and envelope
| Nested Class Summary | |
|---|---|
static class |
SoundInfo.EnvelopePoint
A Point in a sound envelope |
| Field Summary | |
|---|---|
protected SoundInfo.EnvelopePoint[] |
envelope
Description of the Field |
protected int |
inPoint
Description of the Field |
protected int |
loopCount
Description of the Field |
protected boolean |
noMultiplePlay
Description of the Field |
protected int |
outPoint
Description of the Field |
protected boolean |
stopPlaying
Description of the Field |
| Constructor Summary | |
|---|---|
SoundInfo(boolean noMultiplePlay,
boolean stopSound,
SoundInfo.EnvelopePoint[] envelope,
int inPoint,
int outPoint,
int loopCount)
|
|
SoundInfo(InStream in)
Constructor for the SoundInfo object |
|
| Method Summary | |
|---|---|
SoundInfo.EnvelopePoint[] |
getEnvelope()
Gets the envelope attribute of the SoundInfo object |
int |
getInPoint()
Gets the inPoint attribute of the SoundInfo object |
int |
getLoopCount()
Gets the loopCount attribute of the SoundInfo object |
int |
getOutPoint()
Gets the outPoint attribute of the SoundInfo object |
boolean |
isNoMultiplePlay()
Gets the noMultiplePlay attribute of the SoundInfo object |
boolean |
isStopPlaying()
Gets the stopPlaying attribute of the SoundInfo object |
java.lang.String |
toString()
Description of the Method |
void |
write(OutStream out)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean noMultiplePlay
protected boolean stopPlaying
protected SoundInfo.EnvelopePoint[] envelope
protected int inPoint
protected int outPoint
protected int loopCount
| Constructor Detail |
|---|
public SoundInfo(boolean noMultiplePlay,
boolean stopSound,
SoundInfo.EnvelopePoint[] envelope,
int inPoint,
int outPoint,
int loopCount)
noMultiplePlay - true = only play if not already playingstopSound - true = stop playing the soundenvelope - may be null or empty for no envelopeinPoint - -1 for no in-pointoutPoint - -1 for no out-pointloopCount - >1 for a loop count
public SoundInfo(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception| Method Detail |
|---|
public boolean isNoMultiplePlay()
public boolean isStopPlaying()
public SoundInfo.EnvelopePoint[] getEnvelope()
public int getInPoint()
public int getOutPoint()
public int getLoopCount()
public void write(OutStream out)
throws java.io.IOException
out - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||