Commit fbbc4ab33be2aed7ba8c01645396034a722499e0

Ozkan Sezer 2020-10-24T20:12:50

os2: can build with libsamplerate support if wanted to.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/include/SDL_config_os2.h b/include/SDL_config_os2.h
index 8c7a069..1c9b187 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