diff --git a/3rdparty/libsamplerate/config.h b/3rdparty/libsamplerate/config.h index a0482fb48..06677a84a 100644 --- a/3rdparty/libsamplerate/config.h +++ b/3rdparty/libsamplerate/config.h @@ -193,10 +193,11 @@ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "0.1.9" - - +#define VERSION "0.2.1" +#define ENABLE_SINC_FAST_CONVERTER +#define ENABLE_SINC_MEDIUM_CONVERTER +#define ENABLE_SINC_BEST_CONVERTER /* Extra Win32 hacks. */ /* diff --git a/3rdparty/libsamplerate/src_sinc.c b/3rdparty/libsamplerate/src_sinc.c index 51e2997d3..f78bd462a 100644 --- a/3rdparty/libsamplerate/src_sinc.c +++ b/3rdparty/libsamplerate/src_sinc.c @@ -6,9 +6,8 @@ ** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + + #include #include @@ -17,6 +16,7 @@ #include #include "common.h" +#include "config.h" #define SINC_MAGIC_MARKER MAKE_MAGIC (' ', 's', 'i', 'n', 'c', ' ')