From 67e9a44342aceba699e7225d0bfbc6f3a0665001 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 1 Nov 2018 15:46:54 +0100 Subject: [PATCH] Implement Vst Version Some hosts check the VST-standard version of plugins. This fixes MIDI Ports, which are only available in VST 2.x, for some hosts (Ardour 5.x in particular) --- src/vst2_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vst2_main.cpp b/src/vst2_main.cpp index 2008f5e7..1b517dcb 100644 --- a/src/vst2_main.cpp +++ b/src/vst2_main.cpp @@ -1594,6 +1594,10 @@ VstIntPtr VSTPluginDispatcher(VSTPlugin *vstPlugin, // request for the version return PLUGIN_VERSION; + case effGetVstVersion: + r = kVstVersion; + break; + case effGetEffectName: #ifdef VST2_EFFECT ::strncpy((char*)ptr, "VeeSeeVST Rack 0.6.1", kVstMaxEffectNameLen);