Getting the Number of Devices

Use the following functions to determine how many devices of a certain type are available in a given system.

Function
Description
auxGetNumDevs
Retrieves the number of auxiliary audio devices present in the system.
midiInGetNumDevs
Retrieves the number of MIDI input devices present in the system.
midiOutGetNumDevs
Retrieves the number of MIDI output devices present in the system.
waveInGetNumDevs
Retrieves the number of waveform input devices present in the system.
waveOutGetNumDevs
Retrieves the number of waveform output devices present in the system.

Audio devices are identified by a device identifier. The device identifier is determined implicitly from the number of devices present in a given system. Device identifiers range from zero to one less than the number of devices present. For example, if there are two MIDI output devices in a system, valid device identifiers are 0 and 1.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database