<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - periodic audio skips with Intel HDA"
href="https://bugs.freedesktop.org/show_bug.cgi?id=49608#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - periodic audio skips with Intel HDA"
href="https://bugs.freedesktop.org/show_bug.cgi?id=49608">bug 49608</a>
from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
<pre>(In reply to rkfg from <a href="show_bug.cgi?id=49608#c26">comment #26</a>)
<span class="quote">> So I've bought a laptop with VIA sound as well and it also have
> skips/stutters. I worked around it on both systems with these steps:
>
> 1) in /etc/pulse/default.pa added tsched=0:
> load-module module-udev-detect tsched=0
>
> 2) to reduce latency set in /etc/pulse/daemon.conf:
> default-fragments = 4
> default-fragment-size-msec = 1
>
> The final latency is a product of these numbers, 1*4 == 4 ms which is
> acceptable. The number of fragments should be at least 2 so the least
> latency possible is 2*1 == 2 ms. I don't know if there's a real difference
> between 4 fragments of 1 ms each or 2 fragments of 2 ms each. Try some
> experimenting. At least now I don't have latency increase and sound doesn't
> skip on pavucontrol launch, though it still skips on LMMS launch.
> </span >
are there any difference when using four periods or two periods ?
1ms at 44100 Hz has 44.1 frames
aplay select buffer size nearest to the selected time
aplay -D hw:0,0 -v --buffer-time=4000 /tmp/fr025.wav
aplay -D hw:0,0 -v --period-time=2000 --buffer-time=4000 /tmp/fr025.wav</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>