Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
SetEqualizerBandGain method 
 
Remarks 
 
Modifies the gain associated to the given equalizer band; equalizer bands can be created using the SetEqualizerBand method. 
 
See the How to create and use an equalizer section for further details. 
 
 
Syntax 
 
[Visual Basic] 
control.SetEqualizerBandGain
nPlayer as Integer
nBandIndex as Integer
nGain as Integer 
 
[C++] 
short control.SetEqualizerBandGain
short nPlayer
short nBandIndex
short nGain 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the involved player
nBandIndex
Numeric value representing the zero-based index of the band inside the pool of available bands, whose gain must be modified. Its value can be between 0 and 49
nGain
Gain of the given equalizer band in the range from -15 to 15
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents