Remove debug assertions for SysEx parse failures
This commit is contained in:
parent
6e6f327dc4
commit
89b81b38c3
2 changed files with 6 additions and 6 deletions
|
@ -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(_) => (),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue