commit | bbf6ad1399e9516b0a95de3ad58ffbaed670e4cc | [log] [tgz] |
---|---|---|
author | Jaroslav Kysela <perex@perex.cz> | Fri Apr 10 12:28:58 2009 +0200 |
committer | Jaroslav Kysela <perex@perex.cz> | Fri Apr 10 12:28:58 2009 +0200 |
tree | e8803b502eb20956537718e09430d97fec970457 | |
parent | fa00e046b41663cbda9b1affc0594669e5f14219 [diff] |
[ALSA] pcm-midlevel: Add more strict buffer position checks based on jiffies 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>