16 Jul
2010
16 Jul
'10
12:24 p.m.
On Fri, Jul 16, 2010 at 01:17:08PM +0300, Peter Ujfalusi wrote:
There were 'holes' in the DB_RANGE and SCALE_ITEM mapping, which results failure, when user space requests dB value in these holes, since alsa-lib will fail to find a range, and can not round the requested dB to raw value.
Fixing the drivers I'm maintaining to correctly fill the tlv struct.
This seems like a bug in alsa-lib to be honest - it doesn't seem right to specify two values for the indexes at the edge of each range, especially when one of those values is going to be inaccurate.