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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user