diff options
author | Joe Turner <joe@oampo.co.uk> | 2015-02-16 20:44:33 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-17 07:20:04 +0100 |
commit | b62b998010028c4dfd7db7c26990efb2a0985a1e (patch) | |
tree | a318c5ce9088577e59289479c65cf48cee05218c /sound/usb/quirks.h | |
parent | 93ceaa303b2946453b925c55dc28a4273520dd18 (diff) |
ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate
Adds a quirk to disable the check that the sample rate has been set correctly, as the Lifecam does not support getting the sample rate.
This means that we don't need to wait for the USB timeout when attempting to get the sample rate. Waiting for the timeout causes problems in some applications, which give up on the device acquisition process before it has had time to complete, resulting in no sound.
[minor tidy up by tiwai]
Signed-off-by: Joe Turner <joe@oampo.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.h')
-rw-r--r-- | sound/usb/quirks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/usb/quirks.h b/sound/usb/quirks.h index 1b862386577d..2cd71ed1201f 100644 --- a/sound/usb/quirks.h +++ b/sound/usb/quirks.h @@ -21,6 +21,8 @@ int snd_usb_apply_boot_quirk(struct usb_device *dev, void snd_usb_set_format_quirk(struct snd_usb_substream *subs, struct audioformat *fmt); +bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip); + int snd_usb_is_big_endian_format(struct snd_usb_audio *chip, struct audioformat *fp); |