linux/sound/usb
Clemens Ladisch b263a9bdf9 [ALSA] usb-audio: optimize handling of capture URBs
USB generic driver
When preparing capture URBs, we don't need to stop when we cross a
period boundary because we now never handle more than one millisecond of
data per URB anyway.

When handling captured data, use an extra flag to call
snd_pcm_period_elapsed() no more than once.  This allows us to move the
period boundary checking code before the copying of the data which
avoids a second locking of the substream's lock.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2005-08-30 08:45:41 +02:00
..
usx2y [ALSA] ALSA's struct _snd_pcm_substream: Obsolete open_flag 2005-08-30 08:44:48 +02:00
Kconfig [ALSA] Fix snd-usb-audio dependency on snd-hwdep. 2005-05-29 10:06:25 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usbaudio.c [ALSA] usb-audio: optimize handling of capture URBs 2005-08-30 08:45:41 +02:00
usbaudio.h [ALSA] usb-audio - change quirk type handling 2005-07-28 12:22:41 +02:00
usbmidi.c [ALSA] usb-audio - add support for Miditech USB MIDI keyboards 2005-07-28 12:22:37 +02:00
usbmixer_maps.c [ALSA] usb-audio - cache vendor/product IDs 2005-05-29 10:05:47 +02:00
usbmixer.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
usbquirks.h [ALSA] usb-audio - add support for Miditech USB MIDI keyboards 2005-07-28 12:22:37 +02:00