1 ardour { ["type"] = "EditorAction", name = "Delete xrun markers", author = "Ardour Team", description = [[Delete all xrun markers in the current session]] }
3 function factory () return function ()
4 for l in Session:locations():list():iter() do
5 if l:is_mark() and string.find (l:name(), "^xrun%d*$") then
6 Session:locations():remove (l);