<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585#c23">Comment # 23</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585">bug 84585</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><a href="http://0pointer.de/blog/projects/pulse-glitch-free.html">http://0pointer.de/blog/projects/pulse-glitch-free.html</a>
image 1 is correct only if sound card can report dma residue, which provide
more accurate position than period boundary
if sound card cannot report dma residue, hwptr just increment by period
size/time, your cannot rewind when using two periods per buffer
<a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/alsa-util.c?id=826c8f69d34ef49e86fe0ab6c93c1ffba8916131">http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/alsa-util.c?id=826c8f69d34ef49e86fe0ab6c93c1ffba8916131</a>
<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ab69a4904b5dd4d7cd6996587ba066bca8d13838">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ab69a4904b5dd4d7cd6996587ba066bca8d13838</a>
timer scheduling is enabled by default since pulseaudio assume all sound card
can report dma residue</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>