GetTrackEnabled
The GetTrackEnabled function 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
NewMovieTrack and GetMovieTrack (described on page 2-136 and page 2-188, respectively).
DESCRIPTION
The GetTrackEnabled function returns a Boolean value. The function sets this value to true if the track is enabled and false if the track is disabled.
ERROR CODES
| invalidTrack | -2009 | This track is corrupted or invalid |
SEE ALSO
You can enable a track by calling the SetTrackEnabled function, which is described in the previous section.