ALSA: Add new TLV types for dBwith min/max
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 Jun 2009 11:57:07 +0000 (13:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2009 08:56:53 +0000 (10:56 +0200)
commit085f30654175a91c28d2b66b9ea6cceab627fed0
tree58bb41875f6169e170647e76c72947050290852a
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6
ALSA: Add new TLV types for dBwith min/max

Add new types for TLV dB scale specified with min/max values instead
of min/step since the resolution can't match always with the one
a device provides.  For example, usb audio devices give 1/256 dB
resolution while ALSA TLV is based on 1/100 dB resolution.
The new min/max types have less problems because the possible
rounding error happens only at min/max.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/tlv.h
sound/core/vmaster.c