mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 07:28:17 +01:00
Fix Lua script auto-connect new tracks
Since c16ab3a248 Session::new_audio_track has an optional parameter
to auto-connect inputs. Lua scripts don't have a default parameter,
so bool input_auto_connect was assumed false and inputs left
unconnected.
This commit is contained in:
parent
696096fcbd
commit
656cd9c8a7
4 changed files with 4 additions and 4 deletions
|
|
@ -66,7 +66,7 @@ function factory (p)
|
|||
chan_out = channels;
|
||||
end
|
||||
|
||||
local tl = Session:new_audio_track (channels, chan_out, group, how_many, name, insert_at, mode)
|
||||
local tl = Session:new_audio_track (channels, chan_out, group, how_many, name, insert_at, mode, true)
|
||||
|
||||
if strict_io then
|
||||
for t in tl:iter() do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue