MIDIPortDispose(_:)
Disposes of a MIDI port.
Declaration
func MIDIPortDispose(_ port: MIDIPortRef) -> OSStatusParameters
- 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.