From c98116ad4453c115b50c776a52f918d4a49bc903 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 17 Feb 2017 03:37:51 +0100 Subject: [PATCH] Add Lua bindings related to solo/mute and realtime control changes --- libs/ardour/luabindings.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 6b9675900e..586d3fd99c 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1441,6 +1441,14 @@ LuaBindings::common (lua_State* L) .beginConstStdList ("LocationList") .endClass () + // std::list > ControlList; + .beginStdList > ("ControlList") + .endClass () + + .beginPtrStdList > ("ControlListPtr") + .addVoidPtrConstructor > > () + .endClass () + #if 0 // depends on Evoal:: Note, Beats see note_fixer.h // typedef Evoral::Note Note; // std::set< boost::weak_ptr > @@ -1855,6 +1863,14 @@ LuaBindings::common (lua_State* L) .addFunction ("master_out", &Session::master_out) .addFunction ("tempo_map", (TempoMap& (Session::*)())&Session::tempo_map) .addFunction ("locations", &Session::locations) + .addFunction ("soloing", &Session::soloing) + .addFunction ("listening", &Session::listening) + .addFunction ("solo_isolated", &Session::solo_isolated) + .addFunction ("cancel_all_solo", &Session::cancel_all_solo) + .addFunction ("clear_all_solo_state", &Session::clear_all_solo_state) + .addFunction ("set_controls", &Session::set_controls) + .addFunction ("set_control", &Session::set_control) + .addFunction ("set_exclusive_input_active", &Session::set_exclusive_input_active) .addFunction ("begin_reversible_command", (void (Session::*)(const std::string&))&Session::begin_reversible_command) .addFunction ("commit_reversible_command", &Session::commit_reversible_command) .addFunction ("abort_reversible_command", &Session::abort_reversible_command)