Class QuickTimeMeta.TrackSample
java.lang.Object
org.monte.media.quicktime.QuickTimeMeta.TrackSample
- Enclosing class:
QuickTimeMeta
QuickTime plays media in tracks which reference media samples.
Please note that TrackSample objects are created on demand. This helps
to save memory, because a highly multiplexed audio track may consist of
many samples per second. As a consequence multiple instances of
TrackSample objects may represent the same data sample in the movie.
- Author:
- Werner Randelshofer
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe timestamp of the sample in movie timescale units. -
Constructor Summary
ConstructorsConstructorDescriptionTrackSample(QuickTimeMeta.MediaSample mediaSample, long timeStamp, long duration, long startTimeInMediaSample, long endTimeInMediaSample) Creates a new sample. -
Method Summary
-
Field Details
-
timeStamp
public long timeStampThe timestamp of the sample in movie timescale units.
-
-
Constructor Details
-
TrackSample
public TrackSample(QuickTimeMeta.MediaSample mediaSample, long timeStamp, long duration, long startTimeInMediaSample, long endTimeInMediaSample) Creates a new sample.
-