From 81ccb685b2a71100aea6b03a956539847b882abd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 2 Dec 2022 13:06:29 +0100 Subject: [PATCH] Update CD marker Lua script, use new API --- share/scripts/add_cdmarker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/scripts/add_cdmarker.lua b/share/scripts/add_cdmarker.lua index 2a47a9f3d8..6636b8d198 100644 --- a/share/scripts/add_cdmarker.lua +++ b/share/scripts/add_cdmarker.lua @@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" } function factory () return function () - Editor:mouse_add_new_marker (Session:transport_sample(), Location.IsCDMarker) + Editor:mouse_add_new_marker (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0) end end