[pulseaudio-tickets] [Bug 49608] periodic audio skips with Intel HDA

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 8 23:28:35 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=49608

--- Comment #27 from Raymond <superquad.vortex2 at gmail.com> ---
(In reply to rkfg from comment #26)
> 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.
> 

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150409/c1ab9807/attachment.html>


More information about the pulseaudio-bugs mailing list