Copyright © 2006-2019 MultiMedia Soft

ASIO.DeviceRecordParamsGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains parameters for determining how ASIO mono channels are managed during a recording session. These parameters can be modified through the ASIO.DeviceRecordParamsSet 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.DeviceRecordParamsGet (

nDeviceIndex as Integer,

ByRef bPerformMixOnStereoOut as enumBoolean,

ByRef 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

Reference that, on return from the method call, will contain the boolean value that determines if ASIO mono channels are mixed together before being sent to the stereo output.

Supported values are the following:

Mnemonic constant

Meaning

BOOL_FALSE

Mono channels are kept separated

BOOL_TRUE (default)

Mono channels are mixed

nMonoChanToStereoOutMode

Reference that, on return from the method call, will contain the value that determines how a single ASIO mono channel is rendered on a stereo output.

Supported values are the following:

Mnemonic constant

Value

Meaning

ASIO_REC_MONO_BOTH_CHANS (default)

0

The ASIO mono channel is rendered on both left and right channels of the stereo output

ASIO_REC_MONO_LEFT_CHAN

1

The ASIO mono channel is rendered on the left channel only of the stereo output

ASIO_REC_MONO_RIGHT_CHAN

2

The ASIO mono channel is rendered on the right channel only of the stereo output

 

 

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.