mute properly when the system has hardware mute, patch from Pierre Ossman

2004-12-16  Bastien Nocera  <hadess@hadess.net>

	* actions/acme-volume-alsa.c: (acme_volume_alsa_set_mute): mute
	properly when the system has hardware mute, patch from Pierre Ossman
	<drzeus-bugzilla@drzeus.cx> (Closes: #144489)
This commit is contained in:
Bastien Nocera 2004-12-16 12:27:52 +00:00 committed by Bastien Nocera
parent f91325b4cd
commit 4a6eb07d1d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-12-16 Bastien Nocera <hadess@hadess.net>
* actions/acme-volume-alsa.c: (acme_volume_alsa_set_mute): mute
properly when the system has hardware mute, patch from Pierre Ossman
<drzeus-bugzilla@drzeus.cx> (Closes: #144489)
2004-11-30 Sebastien Bacher <seb128@debian.org> 2004-11-30 Sebastien Bacher <seb128@debian.org>
* actions/acme-volume-gstreamer.c: * actions/acme-volume-gstreamer.c:

View file

@ -92,7 +92,7 @@ acme_volume_alsa_set_mute (AcmeVolume *vol, gboolean val)
/* If we have a hardware mute */ /* If we have a hardware mute */
if (self->_priv->has_mute) if (self->_priv->has_mute)
{ {
snd_mixer_selem_set_playback_volume_all snd_mixer_selem_set_playback_switch_all
(self->_priv->elem, !val); (self->_priv->elem, !val);
acme_volume_alsa_close (self); acme_volume_alsa_close (self);
return; return;