ALSA: pcm - Fix hwptr buffer-size overlap bug
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Jul 2009 14:21:08 +0000 (16:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 Jul 2009 14:21:08 +0000 (16:21 +0200)
The fix 79452f0a28aa5a40522c487b42a5fc423647ad98 introduced another
bug due to the missing offset for the overlapped hwptr.
When the hwptr goes back to zero, the delta value has to be corrected
with the buffer size.  Otherwise this causes looping sounds.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found