ext/alsa/gstalsamixer.c: Use snd_mixer_selem_set_{playback|capture}_volume_all()...
authorBastien Nocera <hadess@hadess.net>
Mon, 7 Jan 2008 13:59:43 +0000 (13:59 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 7 Jan 2008 13:59:43 +0000 (13:59 +0000)
commit97456dac3d1de83543a282023ed338f2920c405d
tree16f017ee1e16d0a07b749e021ba086c4db80b752
parent06b3dec4993ee410483cf2ede076d4cba83009a3
ext/alsa/gstalsamixer.c: Use snd_mixer_selem_set_{playback|capture}_volume_all() if the volume is the same for all ch...

Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume),
(check_if_volumes_are_the_same), (gst_alsa_mixer_set_volume):
Use snd_mixer_selem_set_{playback|capture}_volume_all() if
the volume is the same for all channels. This works around
some problem in alsa that leaves us with inconsistent state
for some reason (#486840).
ChangeLog
ext/alsa/gstalsamixer.c