SetAutoTrackAlternatesEnabled
TheSetAutoTrackAlternatesEnabledfunction allows your application to enable and disable automatic track selection by the Movie Toolbox.
pascal void SetAutoTrackAlternatesEnabled (Movie theMovie, Boolean enable);
theMovie- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie,NewMovieFromFile, andNewMovieFromHandle(described on page 2-80, page 2-76, and page 2-78, respectively).enable- Controls automatic track selection. Set this parameter to
trueto enable automatic track selection. Set this parameter tofalseto disable automatic track selection.DESCRIPTION
If automatic track selection is enabled, the Movie Toolbox selects appropriate tracks whenever your application calls theSetMovieGWorld,SetMovieBox,UpdateMovie, orSetMovieMatrixfunctions (described on page 2-145, page 2-146, page 2-112, and page 2-155, respectively). When you enable automatic track selection, the Movie Toolbox immediately selects enabled tracks for the movie. This overrides the setting of thenewMovieDontAutoAlternateflag (see page 2-79 for details on this flag).ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid SEE ALSO
You can instruct the Movie Toolbox to select appropriate tracks immediately by calling theSelectMovieAlternatesfunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help