From 8912efe9c95bff23e4d63d70842c6eaad0aa5ae1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 9 Apr 2019 03:15:38 +0200 Subject: Update Lua Script to use new MusicSample API --- scripts/split_all_markers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/split_all_markers.lua b/scripts/split_all_markers.lua index 967743e56a..001c4ae432 100644 --- a/scripts/split_all_markers.lua +++ b/scripts/split_all_markers.lua @@ -40,7 +40,7 @@ function factory (params) return function () if l:is_mark() then -- get all regions on the given track's playlist (may be stacked) for reg in playlist:regions_at (l:start ()):iter () do - playlist:split_region (reg, ARDOUR.MusicFrame (l:start(), 0)) + playlist:split_region (reg, ARDOUR.MusicSample (l:start(), 0)) -- the above operation will invalidate the playlist's region list: -- split creates 2 new regions. -- -- cgit v1.2.3