[pulseaudio-discuss] Setting latency of module-loopback

Tor-björn Claesson tclaesson at gmail.com
Fri Oct 2 05:13:59 PDT 2009

>>* Fails? Please elaborate? What's the log output PA generates when you
*>>* do this? Something like this should work, though 1ms is probably a bit
*>>* too low.
I get:
Oct  2 13:39:13 Dator pulseaudio[2085]: module-loopback.c: Failed to
parse module arguments
Oct  2 13:39:13 Dator pulseaudio[2085]: module.c: Failed to load
module "module-loopback" (argument:
latency_msec=5"): initialization failed.

in /var/log/syslog. I also tried setting a slightly higher latency
(like 5 ms) but it doesn't matter.

I checked the source code, and latency_msec is missing from the list
of valid module arguments. Attaching a patch to add it.

>Also your input and output don't seem to have the same frequency and
>word depth, you really want to remove any kind of

>resampling/reformatting for an echo functionality.
>- Pierre

Thanks for the tip! Actually, I can't seem to get a good latency so I
will try some other solution.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091002/56877ab4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 246 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091002/56877ab4/attachment.obj>

More information about the pulseaudio-discuss mailing list