Copyright © 2008-2019 MultiMedia Soft

MultiChannelLoadingModeSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the mode for managing the loading of multi-channel audio files. The current mode can be obtained through the MultiChannelLoadingModeGet method.

 

 

Syntax

 

[Visual Basic]

Public Function MultiChannelLoadingModeSet (

nMode as enumMultiChanDownmixModes

) as enumErrorCodes


 

[C#]

public enumErrorCodes MultiChannelLoadingModeSet (

enumMultiChanDownmixModes nMode

);


 

[C++]

public: enumErrorCodes MultiChannelLoadingModeSet (

enumMultiChanDownmixModes nMode

);


 

 

Parameter

Description

 

 

nMode

Number representing the loading mode.

Supported values are the following:

Mnemonic constant

Value

Meaning

MULTICHAN_DOWNMIX_STEREO_SEPAR (default)

0

Downmix to stereo keeping left and right channels separated

MULTICHAN_DOWNMIX_STEREO_SEPAR_INVERT

1

Downmix to stereo keeping left and right channels separated and inverted

MULTICHAN_DOWNMIX_STEREO_MERGED

2

Downmix to stereo merging left and right channels

MULTICHAN_DOWNMIX_MONO

3

Downmix to mono

MULTICHAN_DOWNMIX_NONE

4

No downmix to stereo, all available channels are kept separated allowing the native loading of multi-channel sound files

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.