Comment 7 for bug 986692

Revision history for this message
Taiten Peng (taitenpeng) wrote : Re: Unmutting sound effects using the slider doesn't work

Sorry I dont see how upstream is going to fix this, however there is a very quick fix for this.

Index: gnome-control-center-3.4.2/panels/sound-nua/gvc-mixer-dialog.c
===================================================================
--- gnome-control-center-3.4.2.orig/panels/sound-nua/gvc-mixer-dialog.c 2012-09-18 14:54:02.686384033 +0800
+++ gnome-control-center-3.4.2/panels/sound-nua/gvc-mixer-dialog.c 2012-09-18 16:16:52.255026778 +0800
@@ -509,6 +509,8 @@
                 /* Make sure we do not unmute muted streams, there's a button for that */
                 if (volume == 0.0)
                         gvc_mixer_stream_set_is_muted (stream, TRUE);
+ else
+ gvc_mixer_stream_set_is_muted (stream, FALSE);
                 /* Only push the volume if it's actually changed */
                 if (gvc_mixer_stream_set_volume(stream, (pa_volume_t) rounded) != FALSE)
                         gvc_mixer_stream_push_volume (stream);
Index: gnome-control-center-3.4.2/panels/sound/gvc-mixer-dialog.c
===================================================================
--- gnome-control-center-3.4.2.orig/panels/sound/gvc-mixer-dialog.c 2012-03-05 22:04:55.000000000 +0800
+++ gnome-control-center-3.4.2/panels/sound/gvc-mixer-dialog.c 2012-09-18 16:16:17.238853143 +0800
@@ -784,6 +784,8 @@
                 /* Make sure we do not unmute muted streams, there's a button for that */
                 if (volume == 0.0)
                         gvc_mixer_stream_set_is_muted (stream, TRUE);
+ else
+ gvc_mixer_stream_set_is_muted (stream, FALSE);
                 /* Only push the volume if it's actually changed */
                 if (gvc_mixer_stream_set_volume(stream, (pa_volume_t) rounded) != FALSE)
                         gvc_mixer_stream_push_volume (stream);