Document the MidiSysEx event's availability
This commit is contained in:
parent
b7849f9a7a
commit
d9cf78e72a
|
@ -311,9 +311,10 @@ pub enum NoteEvent<S: SysExMessage> {
|
||||||
/// The program number, in `0..128`.
|
/// The program number, in `0..128`.
|
||||||
program: u8,
|
program: u8,
|
||||||
},
|
},
|
||||||
/// A MIDI SysEx message supported by the plugin's `SysExMessage` type. If the conversion from
|
/// A MIDI SysEx message supported by the plugin's `SysExMessage` type, available on
|
||||||
/// the raw byte array fails (e.g. the plugin doesn't support this kind of message), then this
|
/// [`MidiConfig::Basic`] and up. If the conversion from the raw byte array fails (e.g. the
|
||||||
/// will be logged during debug builds of the plugin, and no event is emitted.
|
/// plugin doesn't support this kind of message), then this will be logged during debug builds
|
||||||
|
/// of the plugin, and no event is emitted.
|
||||||
MidiSysEx { timing: u32, message: S },
|
MidiSysEx { timing: u32, message: S },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -136,6 +136,7 @@ impl<P: Plugin> Backend<P> for Jack {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Support SysEx
|
||||||
output_events.clear();
|
output_events.clear();
|
||||||
if cb(&mut buffer, transport, &input_events, &mut output_events) {
|
if cb(&mut buffer, transport, &input_events, &mut output_events) {
|
||||||
if let Some(midi_output) = &midi_output {
|
if let Some(midi_output) = &midi_output {
|
||||||
|
|
Loading…
Reference in a new issue