From bc6359313f55ef42e2e4737323844a224f17730b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 26 Jul 2014 23:19:14 +0200 Subject: ao_pulse: allow disabling timing bug workarounds Add an option that enables using native PulseAudio auto-updated timing information, instead of the manual calculations added in mplayer2 times. You can use --ao=pulse:no-latency-hacks to enable the new code. The code is almost the same as the code that was removed with commit de435ed5, but I didn't readd some bits I didn't understand. Likewise, the option will disable the code added with that commit. In my tests this seemed to work well, though the A/V sync display looks funny when seeking. The default is still the old behavior. See issue #959. --- DOCS/man/ao.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst index a86f3374db..186512c7a5 100644 --- a/DOCS/man/ao.rst +++ b/DOCS/man/ao.rst @@ -149,6 +149,12 @@ Available audio output drivers are: value makes the audio stream react faster, e.g. to playback speed changes. Default: 250. + ``latency-hacks=`` + Enable hacks to workaround PulseAudio timing bugs (default: yes). If + enabled, mpv will do elaborate latency calculations on its own. If + disabled, it will use PulseAudio automatically updated timing + information. Disabling this might help with e.g. networked audio. + ``portaudio`` PortAudio audio output driver. This works on all platforms, and has extensive MS Windows support. -- cgit v1.2.3