Copyright © 2001-2020 MultiMedia Soft

ASIO.DeviceMonoToStereoSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Tells to the ASIO device to reproduce mono streams as stereo.

 

For further details about the use of ASIO drivers see the ASIO object section and the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

control.ASIO.DeviceMonoToStereoSet (

nDeviceIndex as Integer,

bMonoToStereo as enumBoolean

) as enumErrorCodes


 

[C++]

short control.ASIO.DeviceMonoToStereoSet (

short nDeviceIndex,

short bMonoToStereo

);


 

Parameter

Description

 

 

nDeviceIndex

Number representing the zero-based index of the ASIO device.

This index is related to available ASIO devices so it must be the related to the enumeration performed through the ASIO.DeviceGetCount and ASIO.DeviceGetDesc methods: it must not be confused with indexes related to generic output devices enumerated through the GetOutputDevicesCount and GetOutputDeviceDesc methods which may contain both DirectSound and ASIO devices.

bMonoToStereo

Boolean value that specifies if we need to modify the master volume for input or output channels.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

Mono streams are reproduced in mono on a single ASIO channel.

BOOL_TRUE

1

Mono streams are reproduced in stereo on two ASIO channels. This option should be used ONLY when dealing with mono streams: the quality of the output is not guaranteed in case stereo streams should be played by players attached to this output device.

 

 

 

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