Contents

MIDIPortDispose(_:)

Disposes of a MIDI port.

Declaration

func MIDIPortDispose(_ port: MIDIPortRef) -> OSStatus

Parameters

  • port:

    The port to dispose of.

Return Value

An OSStatus result code.

Discussion

Calling this method explicitly isn’t required because the framework automatically disposes of clients at termination.

See Also

Port management