projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7bfb4
)
detect VST >= 2.4 plugins.
author
Robin Gareus
<robin@gareus.org>
Sat, 7 Dec 2013 17:04:31 +0000
(18:04 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 7 Dec 2013 17:04:31 +0000
(18:04 +0100)
libs/ardour/linux_vst_support.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/linux_vst_support.cc
b/libs/ardour/linux_vst_support.cc
index 1fccf7996825baeadefe35cd1fa9f35a2266c4d0..e141717f3e3f444ab0d4d742fd4f20f085f88b76 100644
(file)
--- 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*/