From a33e4be8260032d8d85c25502cc934f91ba73812 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 14 Apr 2018 21:38:07 +0200 Subject: [PATCH] input/binary: Increase chunk size from 4KB to 4MB. This can slightly increase performance when loading larger files. --- src/input/binary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/binary.c b/src/input/binary.c index 223efd88..f0c798fa 100644 --- a/src/input/binary.c +++ b/src/input/binary.c @@ -29,7 +29,7 @@ #define LOG_PREFIX "input/binary" -#define MAX_CHUNK_SIZE 4096 +#define MAX_CHUNK_SIZE (4 * 1024 * 1024) #define DEFAULT_NUM_CHANNELS 8 #define DEFAULT_SAMPLERATE 0