Contents

MIDISend(_:_:_:)

Sends MIDI to a destination.

Declaration

func MIDISend(_ port: MIDIPortRef, _ dest: MIDIEndpointRef, _ pktlist: UnsafePointer<MIDIPacketList>) -> OSStatus

Parameters

  • port:

    The output port through which the MIDI is to be sent.

  • dest:

    The destination to receive the events.

  • pktlist:

    The MIDI events to be sent.

Return Value

An OSStatus result code.

Discussion

Events with future timestamps are scheduled for future delivery. CoreMIDI performs any needed MIDI merging.

See Also

Deprecated Functions