ASIO.DeviceRecordParamsSet method |
|
Remarks
Sets parameters for determining how ASIO mono channels are managed during a recording session. Current parameters can be obtained through the ASIO.DeviceRecordParamsGet method.
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.DeviceRecordParamsSet ( nDeviceIndex as Integer, bPerformMixOnStereoOut as enumBoolean, nMonoChanToStereoOutMode as enumAsioRecordMonoToStereoMode ) as enumErrorCodes |
[C++] short control.ASIO.DeviceRecordParamsSet ( short nDeviceIndex, long bPerformMixOnStereoOut, long nMonoChanToStereoOutMode ); |
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 input devices enumerated through the GetInputDevicesCount and GetInputDeviceDesc methods which may contain both DirectSound and ASIO devices. |
||||||||||||
bPerformMixOnStereoOut |
Boolean value that determines if ASIO mono channels are mixed together before being sent to the stereo output. Supported values are the following:
|
||||||||||||
nMonoChanToStereoOutMode |
Value that determines how a single ASIO mono channel is rendered on a stereo output. Supported values are the following:
|
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. |