From e1d02f7640bf02b112b20fbd8b9db3a4bc65e3bc Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 21 Jul 2018 20:21:27 +1000 Subject: [PATCH] Increase the default sinc window width for resampling. --- mini_al.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini_al.h b/mini_al.h index c752104f..9a8abf44 100644 --- a/mini_al.h +++ b/mini_al.h @@ -524,7 +524,7 @@ typedef int mal_result; #define MAL_MAX_SAMPLE_RATE MAL_SAMPLE_RATE_384000 #define MAL_SRC_SINC_MIN_WINDOW_WIDTH 2 #define MAL_SRC_SINC_MAX_WINDOW_WIDTH 32 -#define MAL_SRC_SINC_DEFAULT_WINDOW_WIDTH 16 +#define MAL_SRC_SINC_DEFAULT_WINDOW_WIDTH 32 #define MAL_SRC_SINC_LOOKUP_TABLE_RESOLUTION 8 #define MAL_SRC_INPUT_BUFFER_SIZE_IN_SAMPLES 256