From 17f58455b0c43673d07ba22bad1a4b08325280ca Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Apr 2018 16:35:01 +0200 Subject: ao_alsa: reduce requested buffer size There is a dedicated thread for feeding audio to the ALSA API from a buffer with a larger size. There is little reason to have such a large device buffer. --- audio/out/ao_alsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c index 39a83c2c21..3562634848 100644 --- a/audio/out/ao_alsa.c +++ b/audio/out/ao_alsa.c @@ -82,8 +82,8 @@ static const struct m_sub_options ao_alsa_conf = { .mixer_name = "Master", .mixer_index = 0, .ni = 0, - .buffer_time = 250000, - .frags = 16, + .buffer_time = 100000, + .frags = 4, }, .size = sizeof(struct ao_alsa_opts), }; -- cgit v1.2.3