vst_event_midi_sysex_t is event type 6 not 5

This commit is contained in:
Xaymar
2025-08-08 06:02:18 +02:00
parent 22bb104943
commit ac2d40ebce
+2 -1
View File
@@ -826,13 +826,14 @@ enum VST_EVENT_TYPE {
VST_EVENT_TYPE_02 = 2, VST_EVENT_TYPE_02 = 2,
VST_EVENT_TYPE_03 = 3, VST_EVENT_TYPE_03 = 3,
VST_EVENT_TYPE_04 = 4, VST_EVENT_TYPE_04 = 4,
VST_EVENT_TYPE_05 = 5,
/** MIDI SysEx Event. /** MIDI SysEx Event.
* *
* Allows casting @ref vst_event_t to @ref vst_event_midi_sysex_t. * Allows casting @ref vst_event_t to @ref vst_event_midi_sysex_t.
* See: https://blog.landr.com/midi-sysex/ * See: https://blog.landr.com/midi-sysex/
*/ */
VST_EVENT_TYPE_MIDI_SYSEX = 5 VST_EVENT_TYPE_MIDI_SYSEX = 6
}; };
/** A generic event. /** A generic event.