Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetPlayerVolume method 
 
Remarks 
 
Retrieves the current linear volume for the given player: the returned value is in the range from 0 (silence) to 100 (max volume). The current volume can also be obtained with higher precision through the GetPlayerVolumeEx method 
 
 
Syntax 
 
[Visual Basic] 
control.GetPlayerVolume
nPlayer as Integer 
) as Integer
 
[C++] 
short control.GetPlayerVolume
short nPlayer 
);
 
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player whose volume will change
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
>= 0
The current volume
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents