Copyright © 2001-2010 MultiMedia Soft

EqualizerBandSetGain method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the gain of a given band of the equalizer.

 

For further details about defining the equalizer settings refer to the How to create and use an Equalizer section.

 

 

Syntax

 

[Visual Basic]

control.EqualizerBandSetGain (

nPlayer as Integer,

fFrequency as Single,

fGain as Single

) as Single


 

[C++]

float control.EqualizerBandSetGain (

short nPlayer,

float fFrequency,

float fGain

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

fFrequency

Frequency of the band expressed in Hertz

fGain

Gain of the band expressed in dB. Accepted values can be in the range from -15 to 15 dB.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.