detect VST >= 2.4 plugins.
This commit is contained in:
parent
ce7bfb489c
commit
0c2494595d
@ -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*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user