ALSA: usb-audio - Add volume resolution quirk for some Logitech webcams
authorAlexey Fisher <bug-track@fisher-privat.net>
Wed, 23 Jun 2010 12:17:09 +0000 (14:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jun 2010 14:02:07 +0000 (16:02 +0200)
commita5c7d797dcce3be5e77cd6ea62cc4920ededc32b
tree52b55db9773470112fbbcb35d58541674074f0c3
parent272cbc98cfbdd30cff37a35f8ad8f1b737288e88
ALSA: usb-audio - Add volume resolution quirk for some Logitech webcams

Some programs like Skype trying to set capture volume automatically.
Normally it will tray, carefully step by step lover or higher, set the volume.
In real word it work not really well, because devises and vendors lie about
real audio settings.
For example most Logitech webcams have 6400 or 3500 steps for capture volume.
They do not tell that actual resolution is 384. So we have only 7 or 18 real
steps. In this patch I set real resolution only for tested devices.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c