[pulseaudio-tickets] [Bug 80770] module-loopback ignores latency_msec option

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 9 13:32:33 PDT 2014


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

--- Comment #12 from ifyoudieinthegameyoudieforreal at gmail.com ---
(In reply to comment #7)
> 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:
> https://wiki.ubuntu.com/PulseAudio/Log
> 
> 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).

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.

-- 
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/20140709/d22075e6/attachment.html>


More information about the pulseaudio-bugs mailing list