From 54abeab80bff8e7d35a9fac6b1afdb64660df2e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Oct 2013 21:46:34 +0100 Subject: increase default buffer size to 4 MB 2 MB was too small for cross-fading a 24 bit file. Increasing to 4 MB is still not too large for weak machines, but is enough for cross-fading. --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Main.cxx b/src/Main.cxx index f27de84ec..5d47c0a1c 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -94,7 +94,7 @@ #include #endif -static constexpr unsigned DEFAULT_BUFFER_SIZE = 2048; +static constexpr unsigned DEFAULT_BUFFER_SIZE = 4096; static constexpr unsigned DEFAULT_BUFFER_BEFORE_PLAY = 10; static constexpr Domain main_domain("main"); -- cgit v1.2.3