Copyright © 2008-2019 MultiMedia Soft

MultiChannelLoadingModeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current mode for managing the loading of multi-channel audio files. The current mode can be modified through the MultiChannelLoadingModeSet method.

 

 

Syntax

 

[Visual Basic]

control.MultiChannelLoadingModeGet (

ByRef nMode as enumMultiChanDownmixModes

) as enumErrorCodes


 

[C++]

short control.MultiChannelLoadingModeGet (

short *nMode

);


 

 

Parameter

Description

 

 

nMode

Reference that, on return from the method call, will contain the 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.