MIDIGetNumberOfExternalDevices()
Returns the number of external MIDI devices in the system.
Declaration
func MIDIGetNumberOfExternalDevices() -> IntReturn Value
The number of external devices in the system, or 0 if an error occurred.
Discussion
External MIDI devices connect to driver endpoints using a standard MIDI cable. Their presence is optional only when a UI (such as Audio MIDI Setup) adds them.