From dffdee85a0c2e164fa9dfb853013dd4bb4135510 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 19 Mar 2016 16:39:24 +0100 Subject: add some convenience lua functions for plugin management --- libs/ardour/ardour/lua_api.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/ardour/lua_api.h') 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 new_luaproc (ARDOUR::Session *s, const std::string&); + boost::shared_ptr new_plugin (ARDOUR::Session *s, const std::string&, ARDOUR::PluginType, const std::string& preset = ""); + bool set_processor_param (boost::shared_ptr proc, uint32_t which, float val); + bool set_plugin_insert_param (boost::shared_ptr pi, uint32_t which, float val); /** * OSC is kinda special, lo_address is a void* and lo_send() has varags -- cgit v1.2.3