when the time interval for a period is smaller than kernel HZ, then snd-aloop and snd-dummy cannot call snd_pcm_period_elapsed as fast enough annymore. this happens for example with games. but the app still needs to see, that the buffer actually did go further, which is provided by these patches.
[snd-aloop - better realtime app support] http://www.mathematik.uni-freiburg.de/IAM/homepages/ainan/alsa-driver-hg-alo... [Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>]
[snd-dummy - better realtime app support] http://www.mathematik.uni-freiburg.de/IAM/homepages/ainan/alsa-kernel-hg-dum... [Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>]
patches are relative to current hg-tree.
finally even realtime apps like games work smooth. only one thing left for perfection :)
ahmet
-- admin der abteilung für angewandte mathematik, tel. 0761-203-5626