Update Lua script to use new RouteGroup API

This commit is contained in:
Robin Gareus 2025-12-13 21:46:15 +01:00
parent 5abfc59dc1
commit 6eeed82fb3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
11 changed files with 15 additions and 15 deletions

View file

@ -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