Before sending data to a real destination (or virtual source) you
must register yourself as a sender using the addSender:
method.
MIDI data is sent using the processMIDIPacketList:sender:
method. CoreMIDI's MIDIPacketList data structure is used to hold
the MIDI data.
The following shows the basic calls used for sending MIDI data:
[myEndpoint addSender:self]; [myEndpoint processMIDIPacketList:myPacketList sender:self]; [myEndpoint removeSender:self];