Copyright © 2001-2019 MultiMedia Soft

GetOutputDeviceDriverType method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given the index of an output device returns its type of driver (DirectSound or ASIO).

 

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.GetOutputDeviceDriverType (

nIndex as Integer

) as enumDriverTypes


 

[C++]

short control.GetOutputDeviceDriverType (

short nIndex

);


 

 

Parameter

Description

 

 

nIndex

Number representing the zero-based index of the output device whose driver type must be retrieved

 

 

Return value

 

Mnemonic value

Numeric value

Meaning

ERR_xxx

Negative

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

DRIVER_TYPE_DIRECT_SOUND

0

DirectSound driver

DRIVER_TYPE_ASIO

1

ASIO driver