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
[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.
|
|