QMedia Movie properties commands

QM_GetSoundVolume

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.

Example

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

Related commands

QM_SetSoundVolume Sets the movie's sound volume.

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