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 DMFAILURE is returned.
enable should be set to DMTRUE for enabling a track, and DMFALSE for
disabling a track.
mvGetTrackEnable
This function gets the enable flag for the track passed in track.
DMTRUE is returned if the track is enabled, and DMFALSE if disabled.
NOTES
mvGetMovieDuration does NOT take into account track enabled states.
SEE ALSO
mvGetMovieDuration(3dm), mvRenderToOpenGL(3dm), mvRenderAudio(3dm).
Page 1