Lua bindings for "end-is-free" (automatic session-end location marker)
This commit is contained in:
parent
95f225df8f
commit
ec333406f7
@ -472,6 +472,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||
void set_auto_punch_location (Location *);
|
||||
void set_auto_loop_location (Location *);
|
||||
void set_session_extents (framepos_t start, framepos_t end);
|
||||
bool end_is_free () const { return _session_range_end_is_free; }
|
||||
void set_end_is_free (bool);
|
||||
int location_name(std::string& result, std::string base = std::string(""));
|
||||
|
||||
|
@ -1979,6 +1979,8 @@ LuaBindings::common (lua_State* L)
|
||||
.addFunction ("cfg", &Session::cfg)
|
||||
.addFunction ("route_groups", &Session::route_groups)
|
||||
.addFunction ("new_route_group", &Session::new_route_group)
|
||||
.addFunction ("end_is_free", &Session::end_is_free)
|
||||
.addFunction ("set_end_is_free", &Session::set_end_is_free)
|
||||
.addFunction ("remove_route_group", (void (Session::*)(RouteGroup*))&Session::remove_route_group)
|
||||
.addExtCFunction ("timecode_to_sample_lua", ARDOUR::LuaAPI::timecode_to_sample_lua)
|
||||
.addExtCFunction ("sample_to_timecode_lua", ARDOUR::LuaAPI::sample_to_timecode_lua)
|
||||
|
Loading…
Reference in New Issue
Block a user