QMedia Movie track commands


QM_GetTrackLayer(movieRef; trackID; layerNumber):error
movieRef Longint Movie reference
trackID Longint Track ID
layerNumber Longint Track layer
error Longint Error result

Returns the layer 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 layerNumber receives the track's layer number. The layer number is in the range of -32768 ... 32767.


  `Get the layer number of track ID $trackID of movie $movie
$err:=QM_GetTrackLayer ($movie;$trackID;$trackLayer)

Related commands

QM_SetTrackLayer Changes the track's layer.

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