From 52c8a23aff4345e61e40ef3750f2bb5a84048e3e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 6 Aug 2023 21:58:13 +0200 Subject: [PATCH] Add Lua bindings to print plugin control outputs --- libs/ardour/luabindings.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 2f49b9cc1a..cd2302134b 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1940,6 +1940,8 @@ LuaBindings::common (lua_State* L) .addFunction ("get_info", &Plugin::get_info) .addFunction ("get_parameter_docs", &Plugin::get_parameter_docs) .addFunction ("describe_io_port", &Plugin::describe_io_port) + .addFunction ("get_parameter", &Plugin::get_parameter) + .addFunction ("default_value", &Plugin::default_value) .addRefFunction ("get_parameter_descriptor", &Plugin::get_parameter_descriptor) .endClass () @@ -1972,6 +1974,7 @@ LuaBindings::common (lua_State* L) .addFunction ("signal_latency", &PluginInsert::signal_latency) .addFunction ("get_count", &PluginInsert::get_count) .addFunction ("is_channelstrip", &PluginInsert::is_channelstrip) + .addFunction ("control_output", &PluginInsert::control_output) .addFunction ("clear_stats", &PluginInsert::clear_stats) .addRefFunction ("get_stats", &PluginInsert::get_stats) .endClass ()