Contents

MIDIGetExternalDevice(_:)

Returns one of the external devices in the system.

Declaration

func MIDIGetExternalDevice(_ deviceIndex0: Int) -> MIDIDeviceRef

Parameters

  • deviceIndex0:

    The index of the device to return.

Return Value

A reference to a device, or NULL if an error occurred.

Discussion

Call this function to enumerate the external devices in the system.

See Also

Device lookup