commit | ded652f7024bc2d7b6118b561a44187af30841b0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Mar 19 10:08:49 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Mar 19 10:08:49 2009 +0100 |
tree | 3d48a4e0c7ea8f176e4e64210da92b06a3f28036 | |
parent | 5f513e1197f27e9a0bcfec0feaac59f976f4a37e [diff] |
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 <tiwai@suse.de>