diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-03-18 13:03:54 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-18 13:31:08 +0300 |
commit | 9311c9b4f12218b588e51806c44d290cfec678a3 (patch) | |
tree | 9abf620f6497fcc491b079c0577a9abcfdfea46d /sound/usb/caiaq/caiaq-device.h | |
parent | 1313e7041480f523a09dedc7ef2185d8ee94c163 (diff) | |
download | linux-9311c9b4f12218b588e51806c44d290cfec678a3.tar.xz |
ALSA: snd-usb-caiaq: drop bogus iso packets
Drop inbound packets that are smaller than expected. This has been
observed at the very beginning of the streaming transaction.
And when the hardware is in panic mode (which can only very rarely
happen in case of massive EMI chaos), mute the input channels.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Tested-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/caiaq/caiaq-device.h')
-rw-r--r-- | sound/usb/caiaq/caiaq-device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/caiaq/caiaq-device.h b/sound/usb/caiaq/caiaq-device.h index 098b194f7259..4cce1ad7493d 100644 --- a/sound/usb/caiaq/caiaq-device.h +++ b/sound/usb/caiaq/caiaq-device.h @@ -91,7 +91,7 @@ struct snd_usb_caiaqdev { int period_out_count[MAX_STREAMS]; int input_panic, output_panic, warned; char *audio_in_buf, *audio_out_buf; - unsigned int samplerates; + unsigned int samplerates, bpp; struct snd_pcm_substream *sub_playback[MAX_STREAMS]; struct snd_pcm_substream *sub_capture[MAX_STREAMS]; |