1
0
Fork 0

Fix comment

This commit is contained in:
Robbert van der Helm 2023-02-26 01:06:42 +01:00
parent d2b7970991
commit 878d0e5330

View file

@ -251,7 +251,7 @@ impl<P: Plugin> Backend<P> for Jack {
nih_debug_assert!(write_result.is_ok(), "The MIDI buffer is full"); nih_debug_assert!(write_result.is_ok(), "The MIDI buffer is full");
} }
Some(MidiResult::SysEx(padded_sysex_buffer, length)) => { Some(MidiResult::SysEx(padded_sysex_buffer, length)) => {
// `sysex_buffer` may contain padding // The SysEx buffer may contain padding
let padded_sysex_buffer = padded_sysex_buffer.borrow(); let padded_sysex_buffer = padded_sysex_buffer.borrow();
nih_debug_assert!(length <= padded_sysex_buffer.len()); nih_debug_assert!(length <= padded_sysex_buffer.len());
let write_result = midi_writer.write(&jack::RawMidi { let write_result = midi_writer.write(&jack::RawMidi {