diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-09 03:15:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-09 03:15:38 +0200 |
commit | 8912efe9c95bff23e4d63d70842c6eaad0aa5ae1 (patch) | |
tree | 57c93453a005dffe89b8b0367e42f3ef6e264180 /scripts | |
parent | a5f5a0db243c494343aa93b488004813b11a0533 (diff) |
Update Lua Script to use new MusicSample API
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/split_all_markers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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. -- |