summaryrefslogtreecommitdiff
path: root/scripts/delete_xrun_markers.lua
blob: 2530ec2a8ead7a503e06c4b216da26702b41a8d7 (plain)
1
2
3
4
5
6
7
8
9
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