<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - module-loopback ignores latency_msec option"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80770#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - module-loopback ignores latency_msec option"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80770">bug 80770</a>
from <span class="vcard"><a class="email" href="mailto:ifyoudieinthegameyoudieforreal@gmail.com" title="ifyoudieinthegameyoudieforreal@gmail.com">ifyoudieinthegameyoudieforreal@gmail.com</a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=80770#c7">comment #7</a>)
<span class="quote">> Can you attach a verbose log for a run where you just load module-loopback
> with latency_msec=1, so that we can figure out if the sink is really not
> using timer-based scheduling? Here are instructions:
> <a href="https://wiki.ubuntu.com/PulseAudio/Log">https://wiki.ubuntu.com/PulseAudio/Log</a>
>
> Looping back the audio with pacat shouldn't have any lower latency, unless
> the sink is slow to start so some audio gets received from the source before
> the sink starts to consume it (module-loopback doesn't handle that case
> well, a known issue).</span >
Thank you for your response. I've generated the preceding log using the
instructions provided at your link. I loaded module-loopback with
latency_msec=1, first, and then I unloaded it and re-loaded it with
latency_msec=1000, both of which sound like the same latency, to me.
When I pacat my input to my output, both pacat's running with a specified 1ms
latency, the latency is much less than when using module-loopback, perhaps for
the reason that you provided. On the other hand, when I run the pacat's with
1000 msec or more of latency, I can actually delay the sound by seconds at a
time, which is what I would expect. This doesn't appear to be possible with
module-loopback; specifying large latencies up to 2000ms (the maximum supported
latency, according to the manual) appears to have no effect on the latency,
which stays the same as latency_msec=1.</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>