lua reset_mixer script: ignore hidden io processors like "main out"

* fixes a problem in Mixbus where the reset script will kill audio output
This commit is contained in:
Ben Loftis 2022-06-16 13:22:20 -05:00
parent 215acaca2e
commit a992adf0c3
1 changed files with 3 additions and 1 deletions

View File

@ -152,10 +152,12 @@ function factory() return function()
if prefs["io"] then
local io_proc = proc:to_ioprocessor()
if not(io_proc:isnil()) then
if insert:is_channelstrip() or not(insert:display_to_user()) then
queue[#queue + 1] = proc
end
end
end
end
i = i + 1
until proc:isnil()