[pulseaudio-discuss] Question regarding latencies reported by alsa-source and alsa-sink

Georg Chini georg at chini.tk
Sat Jan 16 14:22:50 PST 2016


I have been working on a new version of module-loopback for quite a 
while now.
I am also replacing the smoother in alsa-source and alsa-sink to achieve 
precise latency reports.
Now I hit a problem, were I am not sure how to solve it. The get_latency 
of alsa-sink and alsa-source truncate the latency to 0 when it becomes 
Would it be possible to let the calls return negative values?
Due to the error in the initial conditions those values still make sense 
and clipping
them causes massive problems for the rate controller of module-loopback.

If it is not possible to let the calls return negative values, do you 
have any other
idea how to work around the problem?


More information about the pulseaudio-discuss mailing list