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
+4
View File
@@ -266,6 +266,10 @@ class DispatchDataConverter : public DefaultDataConverter {
return ChunkData{
std::vector<uint8_t>(chunk_data, chunk_data + value)};
} break;
case effBeginLoadBank:
case effBeginLoadProgram:
return *static_cast<const VstPatchChunkInfo*>(data);
break;
case effProcessEvents:
return DynamicVstEvents(*static_cast<const VstEvents*>(data));
break;