summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libao2/ao_sdl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libao2/ao_sdl.c b/libao2/ao_sdl.c
index 9c14ae1a0e..b3c2619844 100644
--- a/libao2/ao_sdl.c
+++ b/libao2/ao_sdl.c
@@ -36,7 +36,11 @@ static ao_info_t info =
LIBAO_EXTERN(sdl)
// Samplesize used by the SDLlib AudioSpec struct
+#ifdef WIN32
#define SAMPLESIZE 2048
+#else
+#define SAMPLESIZE 1024
+#endif
// General purpose Ring-buffering routines