mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Remove debug assertions for SysEx parse failures
This commit is contained in:
@@ -1650,8 +1650,9 @@ impl<P: ClapPlugin> Wrapper<P> {
|
||||
Ok(note_event) => {
|
||||
input_events.push_back(note_event);
|
||||
}
|
||||
// `NoteEvent::from_midi` contains more detailed tracing
|
||||
Err(_) => nih_debug_assert_failure!("Could not parse SysEx message"),
|
||||
// `NoteEvent::from_midi` prints some tracing if parsing fails, which is not
|
||||
// necessarily an error
|
||||
Err(_) => (),
|
||||
};
|
||||
}
|
||||
_ => {
|
||||
|
||||
@@ -1235,10 +1235,9 @@ impl<P: Vst3Plugin> IAudioProcessor for Wrapper<P> {
|
||||
Ok(note_event) => {
|
||||
process_events.push(ProcessEvent::NoteEvent(note_event));
|
||||
}
|
||||
Err(_) => {
|
||||
// `NoteEvent::from_midi` contains more detailed tracing
|
||||
nih_debug_assert_failure!("Could not parse SysEx message");
|
||||
}
|
||||
// `NoteEvent::from_midi` prints some tracing if parsing fails,
|
||||
// which is not necessarily an error
|
||||
Err(_) => (),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user