Add option to skip MIDI track input auto-connect

This commit is contained in:
Robin Gareus 2021-01-08 22:24:40 +01:00
parent 038307fef6
commit 5974e61854
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 6 additions and 5 deletions

View file

@ -65,7 +65,7 @@ function factory (p) return function ()
ARDOUR.PluginInfo(), nil, -- no instrument, no instrument preset
group,
16, -- how many
name, insert_at, ARDOUR.TrackMode.Normal)
name, insert_at, ARDOUR.TrackMode.Normal, true)
local i = 1
for track in tl:iter() do

View file

@ -73,6 +73,6 @@ function factory (params) return function ()
ARDOUR.ChanCount(ARDOUR.DataType ("audio"), 2),
strict_io,
instrument, nil,
group, how_many, name, insert_at, ARDOUR.TrackMode.Normal)
group, how_many, name, insert_at, ARDOUR.TrackMode.Normal, true)
end end