Add new icons: hide, prev/next
[ardour.git] / scripts / split_all_markers.lua
index 967743e56a514e8b21e026cdb7c3af4331452265..001c4ae43274d360d422c0879ee8dd64aa575c5c 100644 (file)
@@ -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.
                                        --