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.
This commit is contained in:
Max Kellermann
2013-10-30 21:46:34 +01:00
parent 1dc8a9f0e7
commit 54abeab80b
4 changed files with 4 additions and 3 deletions

View File

@@ -94,7 +94,7 @@
#include <ws2tcpip.h>
#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");