From ac2d40ebce04a304c1695f36fab1bec453706f06 Mon Sep 17 00:00:00 2001 From: Xaymar Date: Fri, 8 Aug 2025 06:02:18 +0200 Subject: [PATCH] vst_event_midi_sysex_t is event type 6 not 5 --- include/vst.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/vst.h b/include/vst.h index e51b75a..68cdc6b 100644 --- a/include/vst.h +++ b/include/vst.h @@ -826,13 +826,14 @@ enum VST_EVENT_TYPE { VST_EVENT_TYPE_02 = 2, VST_EVENT_TYPE_03 = 3, VST_EVENT_TYPE_04 = 4, + VST_EVENT_TYPE_05 = 5, /** MIDI SysEx Event. * * Allows casting @ref vst_event_t to @ref vst_event_midi_sysex_t. * See: https://blog.landr.com/midi-sysex/ */ - VST_EVENT_TYPE_MIDI_SYSEX = 5 + VST_EVENT_TYPE_MIDI_SYSEX = 6 }; /** A generic event.