From 207d9c81db17e2770c872d42c6cd210fa577dc29 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 23 May 2016 21:55:49 +0200 Subject: some more route related lua bindings --- libs/ardour/luabindings.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libs/ardour') diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 5a3b06d41e..6c687de56c 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -517,6 +517,8 @@ LuaBindings::common (lua_State* L) .addFunction ("active", &Route::active) .addFunction ("set_active", &Route::set_active) .addFunction ("nth_plugin", &Route::nth_plugin) + .addFunction ("nth_processor", &Route::nth_processor) + .addFunction ("nth_send", &Route::nth_send) .addFunction ("add_processor_by_index", &Route::add_processor_by_index) .addFunction ("remove_processor", &Route::remove_processor) .addFunction ("replace_processor", &Route::replace_processor) @@ -672,6 +674,14 @@ LuaBindings::common (lua_State* L) .addCast ("to_insert") .addCast ("to_sidechain") .addCast ("to_ioprocessor") + .addCast ("to_unknownprocessor") + .addCast ("to_amp") +#if 0 // those objects are not yet bound + .addCast ("to_monitorprocessor") + .addCast ("to_capturingprocessor") + .addCast ("to_delayline") + .addCast ("to_meter") +#endif .addFunction ("display_name", &Processor::display_name) .addFunction ("active", &Processor::active) .addFunction ("activate", &Processor::activate) @@ -741,6 +751,9 @@ LuaBindings::common (lua_State* L) .addFunction ("gain_control", (boost::shared_ptr(Amp::*)())&Amp::gain_control) .endClass () + .deriveWSPtrClass ("UnknownProcessor") + .endClass () + .deriveWSPtrClass ("PluginControl") .endClass () -- cgit v1.2.3