Copyright © 2006-2019 MultiMedia Soft

GetInputDeviceDriverType method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given the index of an input device returns its type of driver.

 

For further information about ASIO drivers management, refer to the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

control.GetInputDeviceDriverType (

nInputDevice as integer

) as enumDriverTypes


 

[C++]

short control.GetInputDeviceDriverType (

short nInputDevice

);


 

 

 

Parameter

Description

 

 

nInputDevice

Zero-based index of the input device as enumerated by the combination of the GetInputDevicesCount and GetInputDeviceDesc methods.

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

>= 0

Type of driver.

Supported values are the following:

Mnemonic constant

Value

Meaning

DRIVER_TYPE_DIRECT_SOUND

0

The input devices is DirectSound

DRIVER_TYPE_ASIO

1

The input devices is ASIO