From 24e4cd1717c82557753bc5d8307e4baf6215ac8b Mon Sep 17 00:00:00 2001 From: cg2121 Date: Tue, 1 Mar 2022 01:57:15 -0600 Subject: [PATCH] UI: Fix mixer hide toggle in studio mode If the user would toggle hide in mixer in studio mode, the source would show up in audio mixer, even if it wasn't active. --- UI/window-basic-main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index f70f54d72..ce411b01e 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -3531,6 +3531,8 @@ void OBSBasic::ActivateAudioSource(OBSSource source) { if (SourceMixerHidden(source)) return; + if (!obs_source_active(source)) + return; if (!obs_source_audio_active(source)) return;