diff options
author | Robin Gareus <robin@gareus.org> | 2013-12-07 18:04:31 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-12-07 18:04:31 +0100 |
commit | 0c2494595db708b668c49536445e112237c33714 (patch) | |
tree | bfda0b7c6238f262703380d73b015732928a7410 /libs/ardour/linux_vst_support.cc | |
parent | ce7bfb489cc6f7522704f935ded4b4c438dc1c1e (diff) |
detect VST >= 2.4 plugins.
Diffstat (limited to 'libs/ardour/linux_vst_support.cc')
-rw-r--r-- | libs/ardour/linux_vst_support.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/linux_vst_support.cc b/libs/ardour/linux_vst_support.cc index 1fccf79968..e141717f3e 100644 --- a/libs/ardour/linux_vst_support.cc +++ b/libs/ardour/linux_vst_support.cc @@ -242,7 +242,9 @@ vstfx_load (const char *path) /*Find the main entry point into the plugin*/ - if ((fhandle->main_entry = (main_entry_t) dlsym(fhandle->dll, "main")) == 0) + if ((fhandle->main_entry = (main_entry_t) dlsym(fhandle->dll, "main")) == 0 && + (fhandle->main_entry = (main_entry_t) dlsym(fhandle->dll, "VSTPluginMain")) == 0 + ) { /*If it can't be found, unload the plugin and return a 0 handle*/ |