update script to follow libardour API change
authorRobin Gareus <robin@gareus.org>
Sun, 18 Sep 2016 07:55:59 +0000 (09:55 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 18 Sep 2016 07:55:59 +0000 (09:55 +0200)
scripts/bounce_replace.lua

index 07518a4cf03f930fffe19c449cc08c54f00f4adb..e33350baf7f4af6c1043148aa0322094b2627d5b 100644 (file)
@@ -44,7 +44,7 @@ function factory (params) return function ()
                -- remove old region..
                playlist:remove_region (r);
                -- ..and add the newly bounced one
-               playlist:add_region (region, r:position (), 1, false)
+               playlist:add_region (region, r:position (), 1, false, 0)
 
                -- create a diff of the performed work, add it to the session's undo stack
                -- and check if it is not empty