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)
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

Simple merge
Simple merge