[alsa-devel] snd_mixer_selem_get_playback_volume return value outside allowed range

Raymond Yau superquad.vortex2 at gmail.com
Sat Jun 19 04:39:06 CEST 2010

2010/6/17 Clemens Ladisch <clemens at ladisch.de>

> Raymond Yau wrote:
> > Should snd_mixer_selem_get_playback_volume() perform range check ?
> No, it's the responsibility of the control implementation to return
> valid values (and to check that values that are being set are valid).
> Regards,
> Clemens
> _

The root cause of the bug is gnome-volume-control allow user to set
PA_VOLUME to 150% and PA return the value outside the allowed range of the
"master" volume control of the pulse device


More information about the Alsa-devel mailing list