mvSetTrackEnable(3dm) mvSetTrackEnable(3dm) NAME mvGetTrackEnable, mvSetTrackEnable - Enable/Disable a track SYNOPSIS #include <dmedia/moviefile.h> DMstatus mvSetTrackEnable( MVid track, DMboolean enable ); DMboolean mvGetTrackEnable( MVid track ); DESCRIPTION Each track in a movie can be enabled or disabled. Most functions that operate on the movie as a whole take this flag into account. Most movie editing functions, like mvDeleteMovieAtTime, take an argument that determines whether to operate on the whole movie or only on the enabled tracks. All rendering functions, like mvRenderMovieToOpenGL, only operate on enabled tracks. When a track is created, it is enabled by default. mvSetTrackEnable This function sets the enable flag for the track passed in track. If track is invalid, an error is set and DM_FAILURE is returned. enable should be set to DM_TRUE for enabling a track, and DM_FALSE for disabling a track. mvGetTrackEnable This function gets the enable flag for the track passed in track. DM_TRUE is returned if the track is enabled, and DM_FALSE if disabled. NOTES mvGetMovieDuration does NOT take into account track enabled states. SEE ALSO mvGetMovieDuration(3dm), mvRenderToOpenGL(3dm), mvRenderAudio(3dm). Page 1