1
0
Fork 0

Remove debug assertions for SysEx parse failures

This commit is contained in:
Robbert van der Helm 2023-01-31 22:22:42 +01:00
parent 6e6f327dc4
commit 89b81b38c3
2 changed files with 6 additions and 6 deletions

View file

@ -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(_) => (),
};
}
_ => {

View file

@ -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(_) => (),
};
}
}