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
11 changed files with 15 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ function factory (params) return function ()
end
-- create two mono tracks
local tl = Session:new_audio_track (1, chan_out, nil, 2, "Ducks", ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal, true)
local tl = Session:new_audio_track (1, chan_out, ARDOUR.RouteGroup(), 2, "Ducks", ARDOUR.PresentationInfo.max_order, ARDOUR.TrackMode.Normal, true)
for t in tl:iter() do
t:set_strict_io (true)
-- switch tracks to monitor input