From cf2fbf602cd5578495536be0d7fb84a309b26a48 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 23 May 2021 00:10:50 +0200 Subject: [PATCH] Increase number of preallocated VST3 events to 64 To match the VST2 version. I found that 32 was slightly too low when feeding a plugin with something that starts to resemble black MIDI. --- src/common/serialization/vst3/event-list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/serialization/vst3/event-list.h b/src/common/serialization/vst3/event-list.h index c98a04e1..c026b426 100644 --- a/src/common/serialization/vst3/event-list.h +++ b/src/common/serialization/vst3/event-list.h @@ -260,13 +260,13 @@ class YaEventList : public Steinberg::Vst::IEventList { } private: - boost::container::small_vector events; + boost::container::small_vector events; /** * On the first `getEvent()` call we'll reconstruct these from `events` all * at once. These event objects may not outlive this event list. */ - boost::container::small_vector + boost::container::small_vector reconstructed_events; };