use different source file for canvas tester
[ardour.git] / scripts / delete_xrun_markers.lua
1 ardour { ["type"] = "EditorAction", name = "Delete xrun markers", author = "Ardour Team", description = [[Delete all xrun markers in the current session]] }
2
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);
7                 end
8         end
9 end end