]> code.delx.au - pulseaudio/commit
alsa-mixer: Check that the kernel driver returns consistent limits with both snd_mixe...
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Tue, 22 Mar 2011 10:23:19 +0000 (12:23 +0200)
committerColin Guthrie <colin@mageia.org>
Wed, 30 Mar 2011 08:23:15 +0000 (09:23 +0100)
commitfce93eb6254a12ff16b20426017efd540b982ef7
tree5547bb7069cf106f61b7339320ac5fb98a2b15bf
parent44623a347de67100e9d1059b682f0dcfb89bd273
alsa-mixer: Check that the kernel driver returns consistent limits with both snd_mixer_selem_get_*_dB_range() and _ask_*_vol_dB().

The check is inspired by a driver that returned higher dB limit from
snd_mixer_selem_get_playback_dB_range() than what _ask_playback_vol_dB()
returned at maximum integer volume.
src/modules/alsa/alsa-mixer.c