From: Jaroslav Kysela Date: Mon, 7 Feb 2000 18:05:52 +0000 (+0000) Subject: Fixed mono mute & capture... X-Git-Tag: v1.0.3~395 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=0092ec6c6602c9f8db824fe3c878cef026f7292c;p=alsa-utils.git Fixed mono mute & capture... --- diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c index 5078dc0..ffec11a 100644 --- a/alsamixer/alsamixer.c +++ b/alsamixer/alsamixer.c @@ -528,6 +528,10 @@ mixer_update_cbar (int group_index) } else { vright = vleft; vright1 = vleft1; + group.mute &= ~(group.mute & SND_MIXER_CHN_MASK_FRONT_RIGHT); + group.mute |= (group.mute & SND_MIXER_CHN_MASK_FRONT_LEFT) << 1; + group.capture &= ~(group.capture & SND_MIXER_CHN_MASK_FRONT_RIGHT); + group.capture |= (group.capture & SND_MIXER_CHN_MASK_FRONT_LEFT) << 1; } /* get channel bar position