summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_pulse.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-07 22:23:38 +0100
committerwm4 <wm4@nowhere>2015-01-07 22:23:38 +0100
commitdc2d0539c78dea5d4a21f6bf79846c1bbedbb055 (patch)
treeb8f5b7e78aa22dc6ed95c4a9700899f498ef2109 /audio/out/ao_pulse.c
parent02dbd41ae09c668025da8f64d9ac76d49308f289 (diff)
downloadmpv-dc2d0539c78dea5d4a21f6bf79846c1bbedbb055.tar.bz2
mpv-dc2d0539c78dea5d4a21f6bf79846c1bbedbb055.tar.xz
ao_pulse: disable latency calculation hacks by default
This used to be required to workaround PulseAudio bugs. Even later, when the bugs were (partially?) fixed in PulseAudio, I had the feeling the hacks gave better behavior. On the other hand, I couldn't actually reproduce any bad behavior without the hacks lately. On top of this, it seems our hacks sometimes perform much worse than PulseAudio's native implementation (see #1430). So disable the hacks by default, but still leave the code and the option in case it still helps somewhere. Also, being able to blame PulseAudio's code by using its native API is much easier than trying to debug our own (mplayer2-derived) hacks.
Diffstat (limited to 'audio/out/ao_pulse.c')
-rw-r--r--audio/out/ao_pulse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
index ae708df59e..1f07189779 100644
--- a/audio/out/ao_pulse.c
+++ b/audio/out/ao_pulse.c
@@ -782,7 +782,6 @@ const struct ao_driver audio_out_pulse = {
.priv_size = sizeof(struct priv),
.priv_defaults = &(const struct priv) {
.cfg_buffer = 250,
- .cfg_latency_hacks = 1,
},
.options = (const struct m_option[]) {
OPT_STRING("host", cfg_host, 0),