[alsa-devel] snd_mixer_selem_get_playback_volume return value outside allowed range

Clemens Ladisch clemens at ladisch.de
Thu Jun 17 16:01:00 CEST 2010

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).


More information about the Alsa-devel mailing list