Copyright © 2006-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 ASIO object section and the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

control.ASIO.DeviceGetDesc (

nDeviceIndex as Integer

) as String


 

[C++]

LPCTSTR control.ASIO.DeviceGetDesc (

short 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.