13
0

Update Lua script to use new bounce API

This commit is contained in:
Robin Gareus 2020-07-26 17:17:49 +02:00
parent 22ab752924
commit 44fc824128
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function factory (params) return function ()
playlist:to_stateful ():clear_changes ()
-- bounce the region with processing
local region = track:bounce_range (r:position (), r:position() + r:length (), ARDOUR.InterThreadInfo (), track:main_outs (), false);
local region = track:bounce_range (r:position (), r:position() + r:length (), ARDOUR.InterThreadInfo (), track:main_outs (), false, "");
-- remove old region..
playlist:remove_region (r);

View File

@ -243,7 +243,7 @@ function factory (params) return function ()
playlist:to_stateful ():clear_changes ()
-- do the actual work
local region = track:bounce_range (loop:start (), loop:_end (), itt, proc, false)
local region = track:bounce_range (loop:start (), loop:_end (), itt, proc, false, "")
playlist:add_region (region, playhead, n_paste, false, 0, 0, false)
n_regions_created = n_regions_created + 1