Contents

MIDIReceivedEventList(_:_:)

Distributes incoming MIDI events from a source to its connected client input ports.

Declaration

func MIDIReceivedEventList(_ src: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus

Parameters

  • src:

    The source that’s transmitting MIDI events.

  • evtlist:

    The MIDI events to transmit.

Return Value

An OSStatus result code.

Discussion

Drivers can call this function when receiving MIDI events from a source.

Clients that create virtual sources, using MIDISourceCreateWithProtocol(_:_:_:_:), can call this function when the source is generating MIDI events.

See Also

Event list management