From 66810c155030883231cbfed3a83093e21c69d9b8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Apr 2018 16:35:53 +0200 Subject: ao_pulse: reduce requested device buffer size Same deal as with the previous commit for ALSA. Untested. --- DOCS/man/ao.rst | 2 +- audio/out/ao_pulse.c | 2 +- 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=`` 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), -- cgit v1.2.3