linux_dsm_epyc7002/sound
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
..
arm Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
core [ALSA] Fix a typo in the last fix 2005-11-04 13:20:11 +01:00
drivers [ALSA] Remove vmalloc wrapper, kfree_nocheck() 2005-11-04 13:18:00 +01:00
i2c [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
isa [ALSA] Fix schedule_timeout usage 2005-11-04 13:19:49 +01:00
mips [ALSA] AMD Au1x00 driver: buggy spinlocks 2005-11-04 13:20:26 +01:00
oss [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
parisc [PARISC] Update harmony from parisc tree 2005-10-21 22:42:38 -04:00
pci [ALSA] ac97 - Fix confliction of DRA and surround slots 2005-11-04 13:20:34 +01:00
pcmcia [ALSA] Remove vmalloc wrapper, kfree_nocheck() 2005-11-04 13:18:00 +01:00
ppc [ALSA] Remove obsolete chip_t 2005-11-04 13:18:51 +01:00
sparc [ALSA] Remove obsolete chip_t 2005-11-04 13:18:51 +01:00
synth [ALSA] Fix emu10k1 synth problems. 2005-11-04 13:20:13 +01:00
usb [ALSA] usb-audio: start submitting URBs in the prepared state 2005-11-04 13:25:06 +01:00
Kconfig [ALSA] sound: align device drivers menus 2005-11-04 13:17:08 +01:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_core.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00