GetTrackOffset
TheGetTrackOffsetfunction allows your application to determine the time difference between the start of a track and the start of the movie that contains the track.
pascal TimeValue GetTrackOffset (Track theTrack);
theTrack- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrackandGetMovieTrack(described on page 2-136 and page 2-188, respectively).DESCRIPTION
TheGetTrackOffsetfunction returns a time value. This time value indicates the track's offset from the start of the movie, and it is expressed in the time scale of the movie that contains the track.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid SEE ALSO
You can set a track's offset by calling theSetTrackOffsetfunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help