Copyright © 2005-2019 MultiMedia Soft

ASIO.DeviceGetDesc method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the friendly description of the requested ASIO device. This method is useful when you have to fill a combo box with the friendly names of available ASIO devices.

The total number of available ASIO devices can be obtained using the ASIO.DeviceGetCount method.

 

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 DeviceGetDesc (

nDeviceIndex as Int16

) as String


 

[C#]

public string DeviceGetDesc (

Int16 nDeviceIndex

);


 

[C++]

public: string DeviceGetDesc (

Int16 nDeviceIndex

);


 

 

Parameter

Description

 

 

nDeviceIndex

Number representing the zero-based index of the ASIO device whose friendly name must be retrieved

 

 

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 friendly description of the requested output device.