diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-19 16:39:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-19 16:41:59 +0100 |
commit | dffdee85a0c2e164fa9dfb853013dd4bb4135510 (patch) | |
tree | 0f8fa544aa16ff19008f4e8daec7216d6a488a44 /libs/ardour/ardour/lua_api.h | |
parent | fc988428bc6a5b2f84c10d903b3e15fe91003f79 (diff) |
add some convenience lua functions for plugin management
Diffstat (limited to 'libs/ardour/ardour/lua_api.h')
-rw-r--r-- | libs/ardour/ardour/lua_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lua_api.h b/libs/ardour/ardour/lua_api.h index 3aab2f937d..690957f47a 100644 --- a/libs/ardour/ardour/lua_api.h +++ b/libs/ardour/ardour/lua_api.h @@ -31,6 +31,9 @@ namespace ARDOUR { namespace LuaAPI { boost::shared_ptr<ARDOUR::Processor> new_luaproc (ARDOUR::Session *s, const std::string&); + boost::shared_ptr<ARDOUR::Processor> new_plugin (ARDOUR::Session *s, const std::string&, ARDOUR::PluginType, const std::string& preset = ""); + bool set_processor_param (boost::shared_ptr<Processor> proc, uint32_t which, float val); + bool set_plugin_insert_param (boost::shared_ptr<PluginInsert> pi, uint32_t which, float val); /** * OSC is kinda special, lo_address is a void* and lo_send() has varags |