QMediaLight Movie properties commands


QM_GetSoundVolume(movieRef; soundVolume):error
movieRef Longint Movie reference
soundVolume Longint Sound volume
error Longint Error result

Returns the movie's sound volume.

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


  `Get the sound volume of movie $movieRef
$error:=QM_SetSoundVolume ($movieRef;$volume)

Related commands

QM_SetSoundVolume Sets the movie's sound volume.

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