[ALSA] pcm-midlevel: Add more strict buffer position checks based on jiffies
authorJaroslav Kysela <perex@perex.cz>
Fri, 10 Apr 2009 10:28:58 +0000 (12:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 10 Apr 2009 10:28:58 +0000 (12:28 +0200)
Some drivers like Intel8x0 or Intel HDA are broken for some hardware variants.
This patch adds more strict buffer position checks based on jiffies when
internal hw_ptr is updated. Enable xrun_debug to see mangling of wrong
positions.

As a side effect, the hw_ptr interrupt update routine might do slightly better
job when many interrupts are lost.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found