From c884e2f28571537b71d7c05d31c73e0c3e1fe5c7 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@musicpd.org> Date: Mon, 6 Dec 2021 23:04:29 +0100 Subject: [PATCH] config/PlayerConfig: default buffer size is 8 MB Computers are getting more and more RAM, and 8 MB is rarely ever noticable, but allows longer MixRamp-assisted cross-fading. --- src/config/PlayerConfig.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/PlayerConfig.hxx b/src/config/PlayerConfig.hxx index 07bbcf089..b9112313d 100644 --- a/src/config/PlayerConfig.hxx +++ b/src/config/PlayerConfig.hxx @@ -28,7 +28,7 @@ static constexpr size_t KILOBYTE = 1024; static constexpr size_t MEGABYTE = 1024 * KILOBYTE; struct PlayerConfig { - static constexpr size_t DEFAULT_BUFFER_SIZE = 4 * MEGABYTE; + static constexpr size_t DEFAULT_BUFFER_SIZE = 8 * MEGABYTE; unsigned buffer_chunks = DEFAULT_BUFFER_SIZE;