13
0
livetrax/scripts/delete_xrun_markers.lua

10 lines
360 B
Lua
Raw Normal View History

2017-01-19 13:35:55 -05:00
ardour { ["type"] = "EditorAction", name = "Delete xrun markers", author = "Ardour Team", description = [[Delete all xrun markers in the current session]] }
function factory () return function ()
for l in Session:locations():list():iter() do
if l:is_mark() and string.find (l:name(), "^xrun%d*$") then
Session:locations():remove (l);
end
end
end end