]> git.alsa-project.org Git - alsa-lib.git/commit
tlv: fix returned dB information for min-is-mute controls
authorClemens Ladisch <clemens@ladisch.de>
Fri, 15 Oct 2010 08:33:20 +0000 (10:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Oct 2010 08:44:06 +0000 (10:44 +0200)
commit2f6206da0c1ff88235e6eca0077343f22a4b43ee
tree84f8175a6215e925482b48572999dae2a9a495e9
parentc6a81e21c0f566c2cf62ff345eefea857925afa7
tlv: fix returned dB information for min-is-mute controls

For TLV information that indicates that the minimum value is actually
muted, the returned range used the wrong minimum dB value, and
converting dB values to raw control values did not round up correctly
near the minimum.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/tlv.c