Browse Source

Merge pull request #18 from x42/patch-1

Implement Vst Version Callback
pull/1639/head
bsp2 GitHub 6 years ago
parent
commit
b841419dce
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 // request for the version
return PLUGIN_VERSION; return PLUGIN_VERSION;


case effGetVstVersion:
r = kVstVersion;
break;

case effGetEffectName: case effGetEffectName:
#ifdef VST2_EFFECT #ifdef VST2_EFFECT
::strncpy((char*)ptr, "VeeSeeVST Rack 0.6.1", kVstMaxEffectNameLen); ::strncpy((char*)ptr, "VeeSeeVST Rack 0.6.1", kVstMaxEffectNameLen);


Loading…
Cancel
Save