Copyright © 2001-2019 MultiMedia Soft

Effects.DcOffsetRemovalEnable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables real-time DC offset removal of songs in playback.

 

See the How to apply special effects to a playing sound section for further details.

 

 

Syntax

 

[Visual Basic]

control.Effects.DcOffsetRemovalEnable (

nPlayer as Integer,

bEnable as enumBoolean

) as enumErrorCodes


 

[C++]

short control.Effects.DcOffsetRemovalEnable (

short nPlayer,

short bEnable

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

bEnable

Boolean value that specifies if DC offset removal must be enabled or disabled.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

Disables DC Offset removal

BOOL_TRUE

1

Enables DC Offset removal

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The call was successful.