mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
detect VST >= 2.4 plugins.
This commit is contained in:
parent
ce7bfb489c
commit
0c2494595d
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue