From a992adf0c302c22a120ff613c1345958aea80592 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 16 Jun 2022 13:22:20 -0500 Subject: [PATCH] lua reset_mixer script: ignore hidden io processors like "main out" * fixes a problem in Mixbus where the reset script will kill audio output --- share/scripts/reset_mixer.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/scripts/reset_mixer.lua b/share/scripts/reset_mixer.lua index 354e6ef325..e3a94067a1 100644 --- a/share/scripts/reset_mixer.lua +++ b/share/scripts/reset_mixer.lua @@ -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