Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
SetPlayerVolume method 
 
Remarks 
 
Changes the volume for the given player: changing this volume will not affect the volume of other players. 
 
 
Syntax 
 
[Visual Basic] 
control.SetPlayerVolume
nPlayer as Integer
nValue as Integer 
 
[C++] 
short control.SetPlayerVolume
short nPlayer
short nValue 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player whose volume will change
nValue
The new volume value in the range from 0 (silence) to 100 (max volume). For a higher resolution volume setting, use the SetPlayerVolumeEx method which accepts floating point values.
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The volume has been changed correctly
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents