Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
SetPlayerBalance method 
 
Remarks 
 
Changes the volume balance for the given player: changing this value will not affect the volume balance of other players. 
This method is ignored if speakers assignment has been enabled through the EnableSpeakers property. 
 
 
Syntax 
 
[Visual Basic] 
control.SetPlayerBalance
nPlayer as Integer
nValue as Integer 
 
[C++] 
short control.SetPlayerBalance
short nPlayer
short nValue 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player whose volume will change
nValue
The new volume balance value in the range from -50 to 50. The value 0 means that the balance is centered
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The volume balance has been changed correctly
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents