QMedia Movie track commands


QM_SetTrackEnabled(movieRef; trackID; trackEnabled):error
movieRef Longint Movie reference
trackID Longint Track ID
trackEnabled Longint Track enabled flag
error Longint Error result

Changes the enabled state of a track.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter trackID is the ID of the track.

Parameter trackEnabled specifies the enabled state of the track. If trackEnabled is 1, the track is enabled, otherwise the track is disabled.


  `Disable track ID $trackID of movie $movie
$err:=QM_SetTrackEnabled ($movie;$trackID;0)

Related commands

QM_GetTrackEnabled Returns the enabled state of a track.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:41:14