mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-21 13:05:43 -05:00
Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user