|QMedia Movie track commands|
|QM_GetTrackUsage(movieRef; trackID; trackUsage):error|
||trackUsage||Longint||Track usage flags|
Returns the track's usage in the movie. A track can be used in the movie, in the movie's preview, poster, or any combination in these.
Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile.
Parameter trackID is the ID of the track.
Parameter trackUsage receives the track's usage in the movie. The trackUsage is the combination(with addition or bitwise "or") of any of the following constants.
|qm_TrackUsedInMovie||2||Track is used in movie|
|qm_TrackUsedInPreview||4||Track is used in movie preview|
|qm_TrackUsedInPoster||8||Track is used in poster frame|
|QM_SetTrackUsage||Specifies the track's usage in the movie.|