pub unsafe extern "C-unwind" fn MusicDeviceSysEx(
in_unit: MusicDeviceComponent,
in_data: NonNull<u8>,
in_length: u32,
) -> i32Available on crate features
AudioComponent and MusicDevice only.Expand description
used to send any non-channel MIDI event to an audio unit
This is used to send any non-channel MIDI event to an audio unit. In practise this is a System Exclusive (SysEx) MIDI message
Parameter inUnit: The audio unit
Parameter inData: The complete MIDI SysEx message including the F0 and F7 start and termination bytes
Parameter inLength: The size, in bytes, of the data
Returns: noErr, or an audio unit error code
ยงSafety
in_unitmust be a valid pointer.in_datamust be a valid pointer.