Update CD marker Lua script, use new API
This commit is contained in:
parent
5d42509a21
commit
81ccb685b2
@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" }
|
|||||||
function
|
function
|
||||||
factory ()
|
factory ()
|
||||||
return function ()
|
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
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user