[pulseaudio-discuss] Latency inconsistence with jack-sink module

Adriano Moura adriano.lols at gmail.com
Sun Mar 18 12:21:26 PDT 2012

I found out that jack-sink and jack-source modules are now fairly usable
with the latest git commits, but there is one small issue, some
applications get huge latency for no apparent reason, if, and only if, the
stream is started while jack is the default sink. What makes this
interesting is that starting these problematic applications with another
sink selected (say, my integrated sound-card), and then setting jack back
to the default sink will keep the latency low!

I also noticed that by running pacmd list-sinks, all my sound-cards get a
fixed latency of 30,00 ms, while jack-sink gets 250,00 ms. If this has
anything to do with my problem, is there any way to change it?

I've also seen another weired behavior, by playing a 60hz/fps game on bsnes
(SNES emulator), I get no latency issue, but once I play a 50hz/fps game,
my latency is huge again. Maybe that indicates some re-sampling/sync issue?

Of course, I've tried everything related like, lowering jack sample rate,
trying different frames/periods setups and setting up the new fixed_latency
attribute. But nothing seems to lower the 500ms latency I get.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20120318/351f8356/attachment.html>

More information about the pulseaudio-discuss mailing list