kernel-ark/sound
Clemens Ladisch 29b16931f9 [ALSA] usb-audio - avoid unnecessary double buffering
USB generic driver
When a USB packet boundary falls exactly on a buffer boundary, hwptr
remains at the end of the buffer which causes an overflow in the next
iteration and triggers double buffering although the next packet would
actually be contiguous.

This patch ensures that hwptr is always smaller than buffer_size.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2005-05-29 10:08:53 +02:00
..
arm [ALSA] ARM AACI primecell driver 2005-05-29 10:06:52 +02:00
core [ALSA] Fix capture on OSS emulation 2005-05-29 10:00:42 +02:00
drivers Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isa [PATCH] interwave needs isa pnp 2005-05-05 16:36:31 -07:00
mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oss [PATCH] Add CXT48 to modem black list in ac97 2005-05-05 16:36:31 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [ALSA] Rename pci_vendor/pci_device to pci_subvendor/pci_subdevice 2005-05-29 10:08:46 +02:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc [PATCH] ppc32: More fixlet for pmac sound 2005-05-01 21:56:39 -07:00
sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
synth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb [ALSA] usb-audio - avoid unnecessary double buffering 2005-05-29 10:08:53 +02:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00