diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-17 03:37:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-17 03:37:51 +0100 |
commit | c98116ad4453c115b50c776a52f918d4a49bc903 (patch) | |
tree | 5e1ce1078f17d2b93a8bcfd4085d580c04f6a8d8 /libs | |
parent | 3864f2c32c89436baff76beda1ad1bd6a3944d9a (diff) |
Add Lua bindings related to solo/mute and realtime control changes
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/luabindings.cc | 16 |
1 files changed, 16 insertions, 0 deletions
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 <Location*> ("LocationList") .endClass () + // std::list<boost::shared_ptr<AutomationControl> > ControlList; + .beginStdList <boost::shared_ptr<AutomationControl> > ("ControlList") + .endClass () + + .beginPtrStdList <boost::shared_ptr<AutomationControl> > ("ControlListPtr") + .addVoidPtrConstructor<std::list<boost::shared_ptr <AutomationControl> > > () + .endClass () + #if 0 // depends on Evoal:: Note, Beats see note_fixer.h // typedef Evoral::Note<Evoral::Beats> Note; // std::set< boost::weak_ptr<Note> > @@ -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) |