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
+1
View File
@@ -504,6 +504,7 @@ Vst2EventResult passthrough_event(AEffect* plugin,
[](VstIOProperties& props) -> void* { return &props; },
[](VstMidiKeyName& key_name) -> void* { return &key_name; },
[](VstParameterProperties& props) -> void* { return &props; },
[](VstPatchChunkInfo& info) -> void* { return &info; },
[&](const WantsVstRect&) -> void* { return string_buffer.data(); },
[](const WantsVstTimeInfo&) -> void* { return nullptr; },
[&](const WantsString&) -> void* { return string_buffer.data(); }};