summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-05 16:35:53 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-15 23:11:33 +0300
commit66810c155030883231cbfed3a83093e21c69d9b8 (patch)
treeb447b324202614e383c82fa4364670136ee85a3b
parent17f58455b0c43673d07ba22bad1a4b08325280ca (diff)
downloadmpv-66810c155030883231cbfed3a83093e21c69d9b8.tar.bz2
mpv-66810c155030883231cbfed3a83093e21c69d9b8.tar.xz
ao_pulse: reduce requested device buffer size
Same deal as with the previous commit for ALSA. Untested.
-rw-r--r--DOCS/man/ao.rst2
-rw-r--r--audio/out/ao_pulse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst
index 677c2f0353..04994058c3 100644
--- a/DOCS/man/ao.rst
+++ b/DOCS/man/ao.rst
@@ -139,7 +139,7 @@ Available audio output drivers are:
Set the audio buffer size in milliseconds. A higher value buffers
more data, and has a lower probability of buffer underruns. A smaller
value makes the audio stream react faster, e.g. to playback speed
- changes. Default: 250.
+ changes.
``--pulse-latency-hacks=<yes|no>``
Enable hacks to workaround PulseAudio timing bugs (default: no). If
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
index 41fce3309f..ed45ba6549 100644
--- a/audio/out/ao_pulse.c
+++ b/audio/out/ao_pulse.c
@@ -831,7 +831,7 @@ const struct ao_driver audio_out_pulse = {
.list_devs = list_devs,
.priv_size = sizeof(struct priv),
.priv_defaults = &(const struct priv) {
- .cfg_buffer = 250,
+ .cfg_buffer = 100,
},
.options = (const struct m_option[]) {
OPT_STRING("host", cfg_host, 0),