]> git.sesse.net Git - vlc/commit
PulseAudio: adjust overall latency, not (only) the buffer size
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 22 Mar 2012 18:15:10 +0000 (20:15 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 22 Mar 2012 18:19:25 +0000 (20:19 +0200)
commitd8a96604534966dab34ae2251d370a10f319ecd0
tree40eb95a0161779b209aed31bf8387ea1162a513b
parent5cbe1fe2e4103f1e1c387f86e3e620450b28e8f8
PulseAudio: adjust overall latency, not (only) the buffer size

Without this flag, PulseAudio will tweak the buffer parameters, but
will not account for hardware latencies. As a consequence, the live
caching parameter is not really followed - the latency is longer.

Longer latency becomes a big problem when trying to synch with another
live source (such as a V4L2 video capture device). Then audio is too
late and gets discarded or messed up at output.
modules/access/pulse.c