[MPlayer-dev-eng] [PATCH] reduce latency for ao_pulse

Dan Oscarsson Dan.Oscarsson at tieto.com
Sun Jul 18 11:38:33 CEST 2010


On 2010-07-14 at 18:50 +0200 Reimar Döffinger wrote:
> I repeat: autosync was explicitly designed for broken audio drivers, which
> is exactly this case. It may not actually implement to detect and work
> for this case, and I am not sure it is possible to do this reasonably
> successfully.

Looking at what autosync does and testing a little, it does not fix the
problem, instead it reduces the visual effect by making the effect of an
unexpected get_delay value take slowly. Just like a-v sync correction is
normally done slowly instead of a quickly as possible. Depending of
screen you have and screen refresh rates, this correction is more or
less visible.

I did some checking and my request to pulseaudio to lower the latency
results in an increase of 6-7 % on pulseaudio usage (on my system). So
it does increase CPU usage, but not very much.

   Dan



More information about the MPlayer-dev-eng mailing list