QMedia Movie prefs commands


QM_GetPreferredVolume(movieRef; prefVolume):error
movieRef Longint Movie reference
prefVolume Longint Preferred sound volume
error Longint Error result

Returns the preferred sound volume 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 prefVolume receives the movie's preferred sound volume. The sound volume is in the range of -255...255. Only positive values produce sound..


  `Get the preferred volume of movie $movieRef
$error:=QM_SetPreferredVolume ($movieRef;$prefVolume)

Related commands

QM_SetPreferredVolume Sets the movie's preferred sound volume.

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