[pulseaudio-discuss] Best Case Latency

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Sep 27 05:52:51 PDT 2013


On Fri, 2013-09-27 at 19:26 +1000, Patrick Shirkey wrote:
> On Thu, September 26, 2013 2:27 am, Tanu Kaskinen wrote:
> > Sorry, forgot to reply earlier. Yes, you can check the stream buffer
> > with "pactl list sink-inputs". The "Buffer Latency" field shows the
> > amount of audio in the stream buffer (not yet written to the sink). The
> > "Sink Latency" field shows the latency of the sink. The sum of these two
> > values is the full server-side latency for the stream. In addition to
> > the server-side latency, there's the transport latency between the
> > client and the server (very low for local streams).
> >
> 
> Thanks for that info. Polling the output I see the results fluctuate over
> time in much the same way that the results from jack_iodelay fluctuate. I
> haven't tried to correlate them yet but here's a snapshot to give you a
> better idea of what is happening on this machine.

The latency stays around 10 ms. You complained earlier that the latency
would grow to several hundreds of milliseconds, but this shows no such
behaviour, so the problem is somewhere else than in the playback stream
inside pulseaudio.

-- 
Tanu



More information about the pulseaudio-discuss mailing list