AUMIDIOutputEventBlock

Type Alias AUMIDIOutputEventBlock 

Source
pub type AUMIDIOutputEventBlock = *mut DynBlock<dyn Fn(AUEventSampleTime, u8, NSInteger, NonNull<u8>) -> i32>;
Available on crate features AUAudioUnit and AudioUnitProperties and block2 only.
Expand description

Block to provide MIDI output events to the host.

Parameter eventSampleTime: The timestamp associated with the MIDI data in this chunk.

Parameter cable: The virtual cable number associated with this MIDI data.

Parameter length: The number of bytes of MIDI data in the provided event(s).

Parameter midiBytes: One or more valid MIDI 1.0 events, except sysex which must always be sent as the only event in the chunk.

See also Apple’s documentation