Update Lua Bindings, fix inconsistencies.
authorRobin Gareus <robin@gareus.org>
Sun, 29 Oct 2017 17:32:49 +0000 (18:32 +0100)
committerRobin Gareus <robin@gareus.org>
Sun, 29 Oct 2017 19:01:19 +0000 (20:01 +0100)
libs/ardour/luabindings.cc

index 00e0b9d3b155d51141ada564a859333cbc0e8b7b..d15b8fec93fcc13d9e6d5511b5f3412dbcad4e72 100644 (file)
@@ -845,6 +845,7 @@ LuaBindings::common (lua_State* L)
                .addFunction ("first_mark_after", &Locations::first_mark_after)
                .addFunction ("first_mark_before", &Locations::first_mark_before)
                .addFunction ("first_mark_at", &Locations::mark_at)
+               .addFunction ("mark_at", &Locations::mark_at)
                .addFunction ("remove", &Locations::remove)
                .addRefFunction ("marks_either_side", &Locations::marks_either_side)
                .addRefFunction ("find_all_between", &Locations::find_all_between)
@@ -2156,7 +2157,7 @@ LuaBindings::common (lua_State* L)
                .addFunction ("scripts_changed", &Session::scripts_changed) // used internally
                .addFunction ("transport_rolling", &Session::transport_rolling)
                .addFunction ("request_transport_speed", &Session::request_transport_speed)
-               .addFunction ("transport_frame", &Session::transport_sample)
+               .addFunction ("transport_sample", &Session::transport_sample)
                .addFunction ("transport_speed", &Session::transport_speed)
                .addFunction ("sample_rate", &Session::sample_rate)
                .addFunction ("nominal_sample_rate", &Session::nominal_sample_rate)