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.
This commit is contained in:
Max Kellermann 2021-12-06 23:04:29 +01:00
parent b6ba17a865
commit c884e2f285
1 changed files with 1 additions and 1 deletions

View File

@ -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;