GetTrackAlternate
TheGetTrackAlternatefunction allows your application to determine all the tracks in an alternate group. You specify the group by identifying a track in the group. The group list is circular, so you must specify a different track in the group each time you call this function.
pascal Track GetTrackAlternate (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
TheGetTrackAlternatefunction returns the track identifier of the next track in the group. If the track you specify does not belong to a group, the function returns the same identifier you supply. Because the alternate group list is circular, you have retrieved all the tracks in the group when the function returns the track identifier that you supplied the first time you called theGetTrackAlternatefunction. If there is only one track in an alternate group, this function returns the track identifier you supply.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid SEE ALSO
You can add a track to a group by calling theSetTrackAlternatefunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help