QMedia Movie track commands |

### QM_GetTrackEnabled

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

Returns 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 receives the enabled state of the track. If the track is currently enabled, trackEnabled is set to 1, otherwise trackEnabled is set to 0.

Example

``Get the enabled state of track ID $trackID of movie $movie` `` `C_LONGINT($enabled)` `` `$err:=QM_GetTrackEnabled ($movie;$trackID;$enabled)` `` ``

Related commands

QM_SetTrackEnabled | Enables/disables a track.

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