mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
Update Lua script to use new RouteGroup API
This commit is contained in:
parent
5abfc59dc1
commit
6eeed82fb3
11 changed files with 15 additions and 15 deletions
|
|
@ -25,7 +25,7 @@ function factory () return function ()
|
|||
end
|
||||
|
||||
if tracks:size () > 0 then
|
||||
local bus = Session:new_audio_route (chn, chn, nil, 1, "", ARDOUR.PresentationInfo.Flag.AudioBus, ARDOUR.PresentationInfo.max_order)
|
||||
local bus = Session:new_audio_route (chn, chn, ARDOUR.RouteGroup(), 1, "", ARDOUR.PresentationInfo.Flag.AudioBus, ARDOUR.PresentationInfo.max_order)
|
||||
if bus:size () > 0 then
|
||||
Session:add_internal_sends (bus:front (), ARDOUR.Placement.PostFader, tracks);
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue