13
0

Use new marker API in Lua scripts

This commit is contained in:
Robin Gareus 2024-11-03 14:05:36 +01:00
parent 3933fc2db7
commit a5c1a7feaf
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" }
function
factory ()
return function ()
Editor:mouse_add_new_marker (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0)
Editor:add_location_mark (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0)
end
end