From: Takashi Iwai Date: Thu, 19 Mar 2009 09:08:49 +0000 (+0100) Subject: ALSA: pcm - Fix delta calculation at boundary overlap X-Git-Tag: v2.6.30-rc1~676^2~23^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded652f7024bc2d7b6118b561a44187af30841b0;p=pandora-kernel.git ALSA: pcm - Fix delta calculation at boundary overlap When the hw_ptr_interrupt reaches the boundary, it must check whether the hw_base was already lapped and corret the delta value appropriately. Also, rebasing the hw_ptr needs a correction because buffer_size isn't always aligned to period_size. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed