Browse Source

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)
pull/1639/head
Robin Gareus GitHub 6 years ago
parent
commit
67e9a44342
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/vst2_main.cpp

+ 4
- 0
src/vst2_main.cpp View File

@@ -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);


Loading…
Cancel
Save