Copyright © 2006-2019 MultiMedia Soft

SetAutoGainControllerSettings method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the current Automatic Gain Controller settings.

 

For further information about the use of the the Automatic Gain Controller refer to the How to use the automatic gain controller section.

 

 

Syntax

 

[Visual Basic]

control.SetAutoGainControllerSettings (

nAmplificationTargetLevel as Integer,

nAmplificationQuietLevel as Integer,

nAmplificationAdjustmentRate as Integer,

nAmplificationGain as Integer

) as enumErrorCodes


 

[C++]

short control.SetAutoGainControllerSettings (

short nAmplificationTargetLevel,

short nAmplificationQuietLevel,

short nAmplificationAdjustmentRate,

short nAmplificationGain

);


 

Parameter

Description

 

 

nAmplificationTargetLevel

The target volume level, expressed in percentage

nAmplificationQuietLevel

The quiet volume level, expressed in percentage

nAmplificationAdjustmentRate

The amplification adjustment rate, expressed in percentage

nAmplificationGain

The amplification gain level, expressed in percentage

 

 

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