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

@ -48,7 +48,7 @@ function factory () return function ()
end
-- create tracks
local tl = Session:new_audio_track (1, 2, nil, rv['tracks'], "", ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal, true)
local tl = Session:new_audio_track (1, 2, ARDOUR.RouteGroup(), rv['tracks'], "", ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal, true)
-- and optionally record-arm them
if rv['recarm'] then
for track in tl:iter() do