GetTrackEnabled
TheGetTrackEnabledfunction allows your application to determine whether a track is currently enabled. The Movie Toolbox services only enabled tracks.
pascal Boolean GetTrackEnabled (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
TheGetTrackEnabledfunction returns a Boolean value. The function sets this value totrueif the track is enabled andfalseif the track is disabled.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid SEE ALSO
You can enable a track by calling theSetTrackEnabledfunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help