]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio - Don't expose broken dB ranges
authorTakashi Iwai <tiwai@suse.de>
Thu, 28 Apr 2011 07:58:43 +0000 (09:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Apr 2011 07:58:43 +0000 (09:58 +0200)
commit09332011c97e149b24cc9dbcdf024882c8f664d0
tree07148368f34290c5127f106909b1fb2422a3f7fb
parent7570d39493ec438173ffc1cc1326d0855483658e
ALSA: usb-audio - Don't expose broken dB ranges

Some crappy USB-audio devices give broken dB ranges, e.g. both min and max
are 0dB.  This confuses the volume control that prefers dB expression such
as alsactl or PulseAudio.  In such a case, it's much better not to expose
the broken dB information.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c