QMedia Movie track commands |

### QM_GetTrackOffset

QM_GetTrackOffset(movieRef; trackID; trackOffset):error
| movieRef | Longint | Movie reference
| trackID | Longint | Track ID
| trackOffset | Longint | Track offset
| error | Longint | Error result

Returns the starting offset of a track. The track offset is the duration of the empty space at the beginning of the track.

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 trackOffset receives the track's offset, which expressed in the movie's time scale.

Example

``Get the offset of track ID $trackID of movie $movie` `` `C_LONGINT($offset)` `` `$err:=QM_GetTrackOffset ($movie;$trackID;$offset)` `` ``

Related commands

QM_SetTrackOffset | Changes the track's offset.

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