Copyright © 2005-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).

 

 

Syntax

 

[Visual Basic]

Public GetOutputDeviceDriverType (

nOutputIndex as Int16

) as enumDriverTypes


 

[C#]

public enumDriverTypes GetOutputDeviceDriverType (

Int16 nOutputIndex

);


 

[C++]

public: enumDriverTypes GetOutputDeviceDriverType (

Int16 nOutputIndex

);


 

 

Parameter

Description

 

 

nOutputIndex

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