diff --git a/src/wrapper/vst3/util.rs b/src/wrapper/vst3/util.rs index 531287ef..bb632998 100644 --- a/src/wrapper/vst3/util.rs +++ b/src/wrapper/vst3/util.rs @@ -16,8 +16,8 @@ pub const VST3_MIDI_NUM_PARAMS: u32 = VST3_MIDI_CCS * VST3_MIDI_CHANNELS; /// plugin's parameters overlap with this range. The mapping to a parameter index is /// `VST3_MIDI_PARAMS_START + (cc_idx + (channel * VST3_MIDI_CCS))`. pub const VST3_MIDI_PARAMS_START: u32 = VST3_MIDI_PARAMS_END - VST3_MIDI_NUM_PARAMS; -/// The (exlucive) end of the MIDI CC parameter range. Anything above this is reserved by the host. -pub const VST3_MIDI_PARAMS_END: u32 = (1 << 31) + 1; +/// The (exclusive) end of the MIDI CC parameter range. Anything above this is reserved by the host. +pub const VST3_MIDI_PARAMS_END: u32 = 1 << 31; /// Early exit out of a VST3 function when one of the passed pointers is null macro_rules! check_null_ptr {