summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sdl.c
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-03 14:39:16 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-03 14:39:16 +0000
commitc037eb48d081a52b334e7462ec85f4b7f9353352 (patch)
treed535e479653b980f11246f92c8645f5bde7c86fd /libao2/ao_sdl.c
parentb4387abe8f43eb9bb3645d6c5c2bfe446a69535d (diff)
downloadmpv-c037eb48d081a52b334e7462ec85f4b7f9353352.tar.bz2
mpv-c037eb48d081a52b334e7462ec85f4b7f9353352.tar.xz
restore old SAMPLESIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12114 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_sdl.c')
-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