[pulseaudio-discuss] Distribution kernels and glitch-free (Packagers, read this!)

Ozan Çağlayan ozan at pardus.org.tr
Mon Feb 23 00:02:22 PST 2009


Lennart Poettering wrote On 23-02-2009 04:05:
> 
> Yes, you can use alsa-time-test for this. When you run it it will spin
> in a busy loop always querying system and sound card time. The first
> column contains the system time in µs. Simply calculate the difference
> between subsequent lines. If the differences get too large
> (i.e. multiple ms) something is fishy. If they get as large as 210 ms
> (i.e. 210000 µs) then things are really bad.

The difference in the first column between subsequent lines is 20~24
when the load average is ~0.04 and the output of the test is *not* redirected
to a file.

If I don't redirect the output, I get the famous assertion after
nearly 1 second of execution:

798848  798845  118321  4396    19      4       1       3
798872  798870  118344  4397    19      4       1       3
798897  798894  118367  4397    19      4       1       3
817175  817172  136643  5202    -786    4       1       3

If I redirect it to a file, it keeps running and running without assertion.

And finally:

ozan at cyclope tests $ head -n1 /proc/asound/card?/codec*
Codec: Analog Devices AD1986A
ozan at cyclope tests $ cat /proc/asound/pcm
00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
00-01: AD198x Digital : AD198x Digital : playback 1

Thanks.


-- 
Ozan Çağlayan




More information about the pulseaudio-discuss mailing list