mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-12 01:06:46 -04:00
frontend: Fix audio mixer monitoring state
This commit is contained in:
@@ -698,7 +698,7 @@ void VolumeControl::updateMixerState()
|
||||
QSignalBlocker blockMonitor(monitorButton);
|
||||
|
||||
bool showAsMuted = muted || monitoringType == OBS_MONITORING_TYPE_MONITOR_ONLY;
|
||||
bool showAsMonitored = monitoringType != OBS_MONITORING_TYPE_NONE;
|
||||
bool showAsMonitored = !muted && monitoringType != OBS_MONITORING_TYPE_NONE;
|
||||
bool showAsUnassigned = !muted && unassigned;
|
||||
|
||||
volumeMeter->setMuted((showAsMuted || showAsUnassigned) && !showAsMonitored);
|
||||
|
||||
Reference in New Issue
Block a user