]> git.karo-electronics.de Git - linux-beck.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)
commite9148dddc3c7b6121300319c3e31f9380d459be8
tree42ce7e28e71caaa277fee3b1d21a378f0e8b835e
parent76fb87894828756e069a43ce55f775a6c893a53d
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