From 7c94499aeca8a67ee5f0fe51fb4f957d6618fef4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 19 Jun 2017 17:40:32 +0200 Subject: Remove Cruft -- AutomationStyle never did anything. Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain. --- libs/ardour/luabindings.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libs/ardour/luabindings.cc') diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 3cc88fa414..8e3892c871 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1378,9 +1378,7 @@ LuaBindings::common (lua_State* L) .addCast ("to_ctrl") .addCast ("to_slavable") .addFunction ("automation_state", &AutomationControl::automation_state) - .addFunction ("automation_style", &AutomationControl::automation_style) .addFunction ("set_automation_state", &AutomationControl::set_automation_state) - .addFunction ("set_automation_style", &AutomationControl::set_automation_style) .addFunction ("start_touch", &AutomationControl::start_touch) .addFunction ("stop_touch", &AutomationControl::stop_touch) .addFunction ("get_value", &AutomationControl::get_value) @@ -1671,11 +1669,6 @@ LuaBindings::common (lua_State* L) .endNamespace () .endNamespace () - .beginNamespace ("AutoStyle") - .addConst ("Absolute", ARDOUR::AutoStyle(Absolute)) - .addConst ("Trim", ARDOUR::AutoStyle(Trim)) - .endNamespace () - .beginNamespace ("AutoState") .addConst ("Off", ARDOUR::AutoState(Off)) .addConst ("Write", ARDOUR::AutoState(Write)) -- cgit v1.2.3