Add support for VST2 effBeginLoad{Bank,Program}

A user reported that REAPER was using these on the REAPER forum, but I
have not been able to reproduce that. And they went MIA after posting
about it. But hopefully this helps.
This commit is contained in:
Robbert van der Helm
2022-06-08 14:27:04 +02:00
parent 65cf9cd782
commit d9de22ddbd
5 changed files with 26 additions and 7 deletions
+10
View File
@@ -444,6 +444,7 @@ struct Vst2Event {
VstIOProperties,
VstMidiKeyName,
VstParameterProperties,
VstPatchChunkInfo,
WantsVstRect,
WantsVstTimeInfo,
WantsString>;
@@ -642,6 +643,15 @@ void serialize(S& s, VstParameterProperties& props) {
s.container1b(props.future);
}
template <typename S>
void serialize(S& s, VstPatchChunkInfo& info) {
s.value4b(info.version);
s.value4b(info.pluginUniqueID);
s.value4b(info.pluginVersion);
s.value4b(info.numElements);
s.container1b(info.future);
}
template <typename S>
void serialize(S& s, VstRect& rect) {
s.value2b(rect.top);