diff --git a/src/wrapper/vst3/wrapper.rs b/src/wrapper/vst3/wrapper.rs index ad4bc4a6..cb15784f 100644 --- a/src/wrapper/vst3/wrapper.rs +++ b/src/wrapper/vst3/wrapper.rs @@ -779,7 +779,7 @@ impl IAudioProcessor for Wrapper

{ input_events.clear(); let mut event: MaybeUninit<_> = MaybeUninit::uninit(); for i in 0..num_events { - nih_debug_assert_eq!(events.get_event(i, event.as_mut_ptr()), kResultOk); + assert_eq!(events.get_event(i, event.as_mut_ptr()), kResultOk); let event = event.assume_init(); let timing = event.sample_offset as u32; if event.type_ == vst3_sys::vst::EventTypes::kNoteOnEvent as u16 {