diff options
author | wm4 <wm4@nowhere> | 2014-01-07 23:52:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-07 23:52:18 +0100 |
commit | e0d7876eca0a8ac08a52512ab1a1d3861eca8437 (patch) | |
tree | 32d0089bff05d7ece952263ef3c104abf304f557 /audio | |
parent | a220a3aae6975d1a6c5e0b1325ee07040b0f701b (diff) | |
download | mpv-e0d7876eca0a8ac08a52512ab1a1d3861eca8437.tar.bz2 mpv-e0d7876eca0a8ac08a52512ab1a1d3861eca8437.tar.xz |
ao_pulse: lower default buffer size from 1000ms to 250ms
1000ms is a bit insane. It makes behavior on playback speed changes
worse (because the player has to catch up the dropped audio due to
audio-chain reset), and perhaps makes seeking slower.
Note that the problem of playback speed changes misbehaving will be
fixed in the future, but even then we don't want to have a buffer that
large.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_pulse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c index a573738deb..fc93c40871 100644 --- a/audio/out/ao_pulse.c +++ b/audio/out/ao_pulse.c @@ -621,7 +621,7 @@ const struct ao_driver audio_out_pulse = { .resume = resume, .priv_size = sizeof(struct priv), .priv_defaults = &(const struct priv) { - .cfg_buffer = 1000, + .cfg_buffer = 250, }, .options = (const struct m_option[]) { OPT_STRING("host", cfg_host, 0), |