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,7 +152,9 @@ function factory() return function()
if prefs["io"] then
local io_proc = proc:to_ioprocessor()
if not(io_proc:isnil()) then
queue[#queue + 1] = proc
if insert:is_channelstrip() or not(insert:display_to_user()) then
queue[#queue + 1] = proc
end
end
end
end