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.
master
cg2121 2022-03-01 01:57:15 -06:00 committed by Jim
parent ed70de55cf
commit 24e4cd1717
1 changed files with 2 additions and 0 deletions

View File

@ -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;