Update CD marker Lua script, use new API

This commit is contained in:
Robin Gareus 2022-12-02 13:06:29 +01:00
parent 5d42509a21
commit 81ccb685b2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -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