1
linux/sound/usb
Clemens Ladisch 7efd8bc800 [ALSA] usb-audio: double-buffer all playback data
USB generic driver
We always had to use double buffering when capturing, and when playback
data for one URB crosses a buffer boundary.  The latter would make hwptr
updates less precise because the double-buffered data is read from the
buffer much earlier than the other data is read by the host controller.

Double-buffering all data allows to update hwptr immediately after the
data was copied to the USB buffer(s), which has the additional benefit
of avoiding the latency imposed by the host controller's delay of up to
one frame when interrupting.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2005-08-30 08:45:43 +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: double-buffer all playback data 2005-08-30 08:45:43 +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