Expose record enable/disable to Lua bindings
authorJohannes Mueller <github@johannes-mueller.org>
Sat, 3 Sep 2016 14:32:35 +0000 (16:32 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 6 Sep 2016 20:27:31 +0000 (22:27 +0200)
libs/ardour/luabindings.cc

index 13831d72ad82f15a18fb43be0e88fc6c124e2b13..04d903e4a7ef16359b2572049c0bec366d46d016 100644 (file)
@@ -1397,6 +1397,8 @@ LuaBindings::common (lua_State* L)
                .addFunction ("name", &Session::name)
                .addFunction ("path", &Session::path)
                .addFunction ("record_status", &Session::record_status)
+               .addFunction ("maybe_enable_record", &Session::maybe_enable_record)
+               .addFunction ("disable_record", &Session::disable_record)
                .addFunction ("route_by_id", &Session::route_by_id)
                .addFunction ("route_by_name", &Session::route_by_name)
                .addFunction ("get_remote_nth_stripable", &Session::get_remote_nth_stripable)