Gets the MIDI endpoint that is the event target for a music track.
- iOS 5.0+
- macOS 10.1+
- Mac Catalyst 13.0+
- tvOS 12.0+
The music track for which you want to get the associated MIDI endpoint.
On return, the MIDI endpoint that is the event target of the music track. This function instead returns an error if the music track’s event target is not a MIDI endpoint.
A result code. If the music track’s event target is an audio unit node, returns