diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-20 22:24:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-20 22:24:08 +0200 |
commit | 656cd9c8a735e4c2bceae5ad5094ca2cea302539 (patch) | |
tree | 20e8e679d3e61ebfb46a2aa0869f278a01fee275 /share/scripts/_route_template_generic_audio.lua | |
parent | 696096fcbda039b598952308abc1a1354bc5277d (diff) |
Fix Lua script auto-connect new tracks
Since c16ab3a24824 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.
Diffstat (limited to 'share/scripts/_route_template_generic_audio.lua')
-rw-r--r-- | share/scripts/_route_template_generic_audio.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/_route_template_generic_audio.lua b/share/scripts/_route_template_generic_audio.lua index 7dabce8aef..531d15959c 100644 --- a/share/scripts/_route_template_generic_audio.lua +++ b/share/scripts/_route_template_generic_audio.lua @@ -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 |