|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.util.QTPointerRef | +--quicktime.util.QTPointer | +--quicktime.streaming.SourcerTrackParams
This class provides a representation the native QTSSourcerTrackParams structure that specifies track parameters for the sourcer
Field Summary | |
static int |
kNativeSize
This is the size of this class |
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary | |
SourcerTrackParams(int version,
int flags,
Track track,
long trackStartOffset,
long duration,
SourcerLoopParams loopParams)
Constructs a SourcerTrackParams object based on the native QTSSourcerTrackParams structure |
|
SourcerTrackParams(int flags,
Track track)
Constructs a SourcerTrackParams object based on the native QTSSourcerTrackParams structure |
|
SourcerTrackParams(int flags,
Track track,
long trackStartOffset,
long duration,
SourcerLoopParams loopParams)
Constructs a SourcerTrackParams object based on the native QTSSourcerTrackParams structure |
Method Summary | |
long |
getDuration()
Gets the duration limit |
int |
getFlags()
Gets the flags of the track params object |
SourcerLoopParams |
getLoopParams()
Gets the loop paramters object |
Track |
getTrack()
Gets the track |
long |
getTrackStartOffset()
Gets the track start offset |
int |
getVersion()
Gets the version of the track params object |
void |
setDuration(long duration)
Sets the duration limit of the track (0 indicates no limit) |
void |
setFlags(int flags)
Sets the flags associated with the track params object |
void |
setLoopParams(SourcerLoopParams params)
Sets the loop parameters of the track parameters object |
void |
setTrack(Track track)
Sets the track of the track params object |
void |
setTrackStartOffset(long trackStartOffset)
Sets the track starting offset (0 indicates the start of the track) |
void |
setVersion(int vers)
Sets the version of the track params object |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class quicktime.util.QTPointer |
clone, concatenate, fromEncodedImage, fromGraphicsExporter, fromSCData, setSize |
Methods inherited from class quicktime.util.QTPointerRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int kNativeSize
Constructor Detail |
public SourcerTrackParams(int flags, Track track) throws QTException
flags
- the flags of the tracktrack
- the track associated with the sourcerpublic SourcerTrackParams(int flags, Track track, long trackStartOffset, long duration, SourcerLoopParams loopParams) throws QTException
flags
- the flags of the tracktrack
- the track associated with the sourcertrackStartOffset
- the offset of the start of the track (use 0 for beginning)duration
- the limit of the track length (use 0 for no limit)loopParams
- the loop properties of the track (use null for no looping)public SourcerTrackParams(int version, int flags, Track track, long trackStartOffset, long duration, SourcerLoopParams loopParams) throws QTException
version
- version of the SourcerTrackParams objectflags
- the flags of the tracktrack
- the track associated with the sourcertrackStartOffset
- the offset of the start of the track (use 0 for beginning)duration
- the limit of the track length (use 0 for no limit)loopParams
- the loop properties of the track (use null for no looping)Method Detail |
public void setVersion(int vers)
vers
- versionpublic int getVersion()
public void setFlags(int flags)
flags
- flagspublic int getFlags()
public void setTrack(Track track) throws QTRuntimeException
track
- track (should not be null)public Track getTrack()
public void setTrackStartOffset(long trackStartOffset)
trackStartoffset
- the track start offsetpublic long getTrackStartOffset()
public void setDuration(long duration)
duration
- limit of the track durationpublic long getDuration()
public void setLoopParams(SourcerLoopParams params)
params
- the loop parameterspublic SourcerLoopParams getLoopParams()
public java.lang.String toString()
toString
in class QTPointerRef
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |