• Takashi Iwai's avatar
    ALSA: Add new TLV types for dBwith min/max · 085f3065
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    085f3065
tlv.h 2.96 KB