From 63f535c86e184a88efa8055f3e6aa4044ce03c55 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 e0a277575..a1ffc621f 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;