mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
add API to list Vamp Plugins
This commit is contained in:
parent
44b41e3058
commit
22f342c8d8
3 changed files with 14 additions and 0 deletions
|
|
@ -539,6 +539,13 @@ void LuaTableRef::assign (luabridge::LuaRef* rv, T key, const LuaTableEntry& s)
|
|||
}
|
||||
}
|
||||
|
||||
std::vector<std::string>
|
||||
LuaAPI::Vamp::list_plugins ()
|
||||
{
|
||||
using namespace ::Vamp::HostExt;
|
||||
PluginLoader* loader (PluginLoader::getInstance());
|
||||
return loader->listPlugins ();
|
||||
}
|
||||
|
||||
LuaAPI::Vamp::Vamp (const std::string& key, float sample_rate)
|
||||
: _plugin (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue