From fbbc4ab33be2aed7ba8c01645396034a722499e0 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 24 Oct 2020 20:12:50 +0300 Subject: [PATCH] os2: can build with libsamplerate support if wanted to. --- include/SDL_config_os2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/SDL_config_os2.h b/include/SDL_config_os2.h index 8c7a069a1..1c9b187c2 100644 --- a/include/SDL_config_os2.h +++ b/include/SDL_config_os2.h @@ -53,10 +53,11 @@ /* Enable assembly routines */ #define SDL_ASSEMBLY_ROUTINES 1 -/* #undef HAVE_LIBSAMPLERATE_H */ +/* use libsamplerate for audio rate conversion. */ +/*#define HAVE_LIBSAMPLERATE_H 1 */ /* Enable dynamic libsamplerate support */ -/* #undef SDL_LIBSAMPLERATE_DYNAMIC */ +#define SDL_LIBSAMPLERATE_DYNAMIC "SAMPRATE.DLL" #define HAVE_LIBC 1