ALSA: snd-aloop - improve the sample copy accurracy
authorJaroslav Kysela <perex@perex.cz>
Sun, 13 May 2012 11:39:45 +0000 (13:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2012 06:34:38 +0000 (08:34 +0200)
commitb012513c66cfb41f816532f93a934b5c0b38c1bf
treed305c6fef148f0e65e2f6c88e2aee36b43617108
parent92b862c7d685f5971a954e6ded51891d4adc412b
ALSA: snd-aloop - improve the sample copy accurracy

Maintain both streams (playback, capture) synchronized. Previous code
didn't take in account the small byte count drifts caused by the irq
position rounding.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c