Copyright © 2005-2019 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]

Public Function MPXInvertChannels (

nPlayerIndex as Int16,

bInvertChannels as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes MPXInvertChannels (

Int16 nPlayerIndex,

bool bInvertChannels

);


 

[C++]

public: enumErrorCodes MPXInvertChannels (

Int16 nPlayerIndex,

bool bInvertChannels

);


 

 

Parameter

Description

 

 

nPlayerIndex

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

Meaning

false (default)

MPX channels are not inverted

true

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.NOERROR (0)

The method call was successful.