mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use new marker API in Lua scripts
This commit is contained in:
parent
3933fc2db7
commit
a5c1a7feaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue