#2738 Master mute disables the channel audio level meters (#2739)

Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
Denny Sheirer
2026-11-21 02:57:20 -05:00
committed by GitHub
parent 77e9e97dd1
commit 14c53f2694
3 changed files with 32 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ public class AudioView extends HBox
}
/**
* Updates the master mute button. The output is muted when every channel is muted.
* Updates the master mute button and disables the channel level meters when every channel is muted.
*/
private void updateMuted()
{
@@ -313,6 +313,11 @@ public class AudioView extends HBox
muted &= view.getAudioChannel().isMuted();
}
for(AudioChannelView view: mChannelViews)
{
view.setOutputMuted(muted);
}
mMuteButton.setSelected(muted);
mMuteIcon.setIconCode(muted ? FontAwesome.VOLUME_OFF : FontAwesome.VOLUME_UP);
mMuteButton.setTooltip(new Tooltip(muted ? "Unmute all audio" : "Mute all audio"));