mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 08:53:56 +02:00
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:
@@ -260,13 +260,13 @@ class YaEventList : public Steinberg::Vst::IEventList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
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
|
* On the first `getEvent()` call we'll reconstruct these from `events` all
|
||||||
* at once. These event objects may not outlive this event list.
|
* 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;
|
reconstructed_events;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user