QMediaLight Movie properties commands


QM_GetRate(movieRef; movieRate):error
movieRef Longint Movie reference
movieRate Real Current rate
error Longint Error result

Returns the current playback rate of a movie.

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 movieRate receives the movie's current playback rate. Positive values mean forward playback and negative values mean reverse playback. A rate of 0 indicates that the movie is currently stopped. A rate of 1.0 indicates that the movie is currently playing forward at normal speed.


  `Get the current rate of movie $movieRef
$error:=QM_GetRate ($movieRef;$rate)

Related commands

QM_Play Starts playing the movie.
QM_Stop Stops playing the movie.

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:33