]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: flush completed packets when reading PCM position
authorClemens Ladisch <clemens@ladisch.de>
Sun, 13 May 2012 16:49:14 +0000 (18:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 May 2012 08:43:36 +0000 (10:43 +0200)
commit25fe33d76fea843d5d560654193e566ce44cfdbc
tree42ce7e28e71caaa277fee3b1d21a378f0e8b835e
parentcf3349456eaadb8bcb7d1ea68ae218d5a9b8853a
ALSA: firewire-lib: flush completed packets when reading PCM position

By flushing all completed but not yet reported packets before reading
the PCM hardware position, the granularity of the pointer is improved
from the interrupt interval to the packet size.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h