mvGetTrackEnable, mvSetTrackEnable - Enable/Disable a track
DMstatus mvSetTrackEnable( MVid track, DMboolean enable );
DMboolean mvGetTrackEnable( MVid track );
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
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.
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.
mvGetMovieDuration does NOT take into account track enabled states.
mvGetMovieDuration(3dm), mvRenderToOpenGL(3dm), mvRenderAudio(3dm).
PPPPaaaaggggeeee 1111 [ Back ]