Re: [PATCH - alsa-lib] tlv: Check dB range only within the control's volume range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 May 2010, Peter Ujfalusi wrote:

> The DB_RANGE need to be used on some HW, since the gain on
> volume control is not continuous, and has to be divided into
> several sub DB_SCALE ranges.
> ASoC has a feature to override the HW default volume range,
> and in this case when the volume range is less than the
> HW maximum we do not need to go through the whole DB_RANGE,
> but we need to stop where the kcontrol's maximum tell us.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxx>

Unfortunately, it does not look like a clean way in my eyes. If the driver 
pushes some limits to the control (volume) range, it should do it also 
for TLVs.

 					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux