Copyright © 2001-2018 MultiMedia Soft

Effects.MPXInvertChannels method

Previous pageReturn to chapter overviewNext page

Remarks

 

Inverts channels management of MPX files. Normal MPX files have the vocals coded to the right channel and the music to the left channel: in some very special case channels may result inverted inside the file so this method allows managing the different situation.

 

See the Effects.MPXEnable method for details about management of MPX files.

 

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

 

 

Syntax

 

[Visual Basic]

control.Effects.MPXInvertChannels (

nPlayer as Integer,

bInvertChannels as enumBoolean

) as enumErrorCodes


 

[C++]

short control.Effects.MPXInvertChannels (

short nPlayer,

short bInvertChannels

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

bInvertChannels

Boolean value specifying if management of channels of MPX files must be inverted

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

MPX channels are not inverted

BOOL_TRUE

1

MPX channels are inverted so the vocals are coded on the left channel and music is coded on the right channel.

 

 

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.