kernel-ark/sound/usb
Clemens Ladisch b55bbf06e8 [ALSA] usb-audio: start submitting URBs in the prepared state
Modules: USB generic driver

If we submit all our URBs when a playback stream is started, the first
hwptr_done update for each URB happens at the same time.  This results
in an underrun when there isn't enough PCM data available at this
point for all URBs.

To avoid this, we begin submitting our URBs earlier (when the stream
is prepared), with empy packets.  When the stream is started, the
prepare_playback_urb() call for each URB will be run only when the
respective URB has completed previously, so the first hwptr_done
updates will be done nicely staggered.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2005-11-04 13:25:06 +01:00
..
usx2y [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
Kconfig
Makefile
usbaudio.c [ALSA] usb-audio: start submitting URBs in the prepared state 2005-11-04 13:25:06 +01:00
usbaudio.h [ALSA] usb-audio: remove old compatibility wrappers (2/2) 2005-11-04 13:16:39 +01:00
usbmidi.c [ALSA] usb-audio: remove superfluous include 2005-11-04 13:20:03 +01:00
usbmixer_maps.c
usbmixer.c [ALSA] Add missing KERN_* prefix 2005-11-04 13:19:32 +01:00
usbquirks.h [ALSA] usb-audio: add quirk comments 2005-11-04 13:16:28 +01:00