Copyright © 2005-2018 MultiMedia Soft

ASIO.DeviceMonoToStereoSet method

Previous pageReturn to chapter overviewNext page



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


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





[Visual Basic]

Public Function DeviceMonoToStereoSet (

nDeviceIndex as Int16,

bMonoToStereo as Boolean

) as enumErrorCodes



public enumErrorCodes DeviceMonoToStereoSet (

Int16 nDeviceIndex,

bool bMonoToStereo




public: enumErrorCodes DeviceMonoToStereoSet (

Int16 nDeviceIndex,

bool bMonoToStereo








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.


Boolean value that specifies if mono streams must be rendered as stereo.

Supported values are the following:

Mnemonic constant


false (default)

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


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






Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.