Copyright © 2006-2019 MultiMedia Soft

ASIO.DeviceGetDriverPathname method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the absolute pathname of the file containing the ASIO driver of the given ASIO device.

 

For further details about the use of ASIO drivers see the ASIOMan class and the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function DeviceGetDriverPathname (

nDeviceIndex as Int16

) as String


 

[C#]

public string DeviceGetDriverPathname (

Int16 nDeviceIndex

);


 

[C++]

public: string DeviceGetDriverPathname (

Int16 nDeviceIndex

);


 

 

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.

 

 

Return value

 

Value

Meaning

 

 

Empty string

The value of the nDeviceIndex parameter was out of range. Use the value returned by the ASIO.DeviceGetCount method in order to know how many ASIO devices are currently installed inside the system.

Valid string

The string containing the absolute pathname of the ASIO driver