[pulseaudio-discuss] pulseaudio API - what's the difference between latency and configured_latency?
arun at accosted.net
Sun Mar 8 20:20:24 PDT 2015
On 9 March 2015 at 04:47, Andrew Kelley <superjoe30 at gmail.com> wrote:
> latency: Length of queued audio in the output buffer.
> configured_latency: The latency this device has been configured to.
> Does this mean that if I repeatedly query the sink info, the latency will
> change, but the configured_latency will not change?
Short answer: yes
Long answer: what latency the sink is configured for is a function of
what the sink inputs connected to it have requested. So as sink inputs
come and go, the configured latency might change. You can see how this
behaves in pactl list sinks output.
More information about the pulseaudio-discuss