Copyright © 2008-2018 MultiMedia Soft

ConvertFileDestEffectsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets effects applied during the sound format conversion session started through calls to the ConvertFile, ConvertFileRange, ConvertFileRaw, ConvertFileRawRange and ConvertAutomationExecute methods.

 

For further information about sound files conversion see the How to convert format of sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.ConvertFileDestEffectsSet (

bApplyNormalization as enumBoolean,

fTargetLevelPerc as Single,

bApplyDCOffsetRemoval as enumBoolean

) as enumErrorCodes


 

[C++]

short control.ConvertFileDestEffectsSet (

short bApplyNormalization,

float fTargetLevelPerc,

short bApplyDCOffsetRemoval

);


 

 

Parameter

Description

 

 

bApplyNormalization

Boolean value that tells if normalization must be applied during conversion.

Supported values are the following:

Mnemonic Value

Meaning

BOOL_FALSE

Don't apply normalization

BOOL_TRUE

Apply normalization

fTargetLevelPerc

Target peak level, expressed in percentage, for normalization.

bApplyDCOffsetRemoval

Boolean value that tells if DC offset removal must be applied during conversion.

Supported values are the following:

Mnemonic Value

Meaning

BOOL_FALSE

Don't apply DC Offset removal

BOOL_TRUE

Apply DC Offset removal

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.