ASIO.DeviceMonoToStereoSet method |
|
Remarks
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.
Syntax
[Visual Basic] Public Function DeviceMonoToStereoSet ( nDeviceIndex as Int16, bMonoToStereo as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes DeviceMonoToStereoSet ( Int16 nDeviceIndex, bool bMonoToStereo ); |
[C++] public: enumErrorCodes DeviceMonoToStereoSet ( Int16 nDeviceIndex, bool 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 mono streams must be rendered as stereo. Supported values are the following:
|
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. |