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.
This commit is contained in:
Robbert van der Helm
2021-05-23 00:10:50 +02:00
parent e700678a11
commit cf2fbf602c
+2 -2
View File
@@ -260,13 +260,13 @@ class YaEventList : public Steinberg::Vst::IEventList {
}
private:
boost::container::small_vector<YaEvent, 32> events;
boost::container::small_vector<YaEvent, 64> 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<Steinberg::Vst::Event, 32>
boost::container::small_vector<Steinberg::Vst::Event, 64>
reconstructed_events;
};