mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
fix OSX builds
This commit is contained in:
parent
66b14b7bbb
commit
51d58d2c08
1 changed files with 2 additions and 1 deletions
|
|
@ -2437,11 +2437,12 @@ PluginInsert::add_plugin (boost::shared_ptr<Plugin> plugin)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT)
|
||||||
boost::shared_ptr<VSTPlugin> vst = boost::dynamic_pointer_cast<VSTPlugin> (plugin);
|
boost::shared_ptr<VSTPlugin> vst = boost::dynamic_pointer_cast<VSTPlugin> (plugin);
|
||||||
if (vst) {
|
if (vst) {
|
||||||
vst->set_insert (this, _plugins.size ());
|
vst->set_insert (this, _plugins.size ());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
_plugins.push_back (plugin);
|
_plugins.push_back (plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue