]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fixed mono mute & capture...
authorJaroslav Kysela <perex@perex.cz>
Mon, 7 Feb 2000 18:05:52 +0000 (18:05 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 7 Feb 2000 18:05:52 +0000 (18:05 +0000)
alsamixer/alsamixer.c

index 5078dc0e1229014f6c92699a653b2f131fe8e44d..ffec11a3800b9cb55418a753712a0734d373a0ca 100644 (file)
@@ -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