QMediaLight Movie prefs commands


QM_GetPreferredRate(movieRef; prefRate):error
movieRef Longint Movie reference
prefRate Real Preferred playback rate
error Longint Error result

Returns the preferred 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 prefRate receives the movie's preferred playback rate. It is a real number in the -5.0 ... +5.0 range. Positive rates mean forward playback and negative rates mean reverse playback.

The default preferred playback rate of a movie is set to 1.0 when the movie is created.


  `Get the preferred playback rate movie $movieRef
$error:=QM_GetPreferredRate ($movieRef;$prefRate)

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