comparison libao2/ao_sdl.c @ 27727:48c1ae64255b

Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__. This avoids a pointless indirection that only obscures what is really done.
author diego
date Mon, 13 Oct 2008 16:23:55 +0000
parents d97a607821f1
children 9a5b8c2ed6de
comparison
equal deleted inserted replaced
27726:5e3c7164f943 27727:48c1ae64255b
50 50
51 // turn this on if you want to use the slower SDL_MixAudio 51 // turn this on if you want to use the slower SDL_MixAudio
52 #undef USE_SDL_INTERNAL_MIXER 52 #undef USE_SDL_INTERNAL_MIXER
53 53
54 // Samplesize used by the SDLlib AudioSpec struct 54 // Samplesize used by the SDLlib AudioSpec struct
55 #if defined(WIN32) || defined(__AMIGAOS4__) 55 #if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__AMIGAOS4__)
56 #define SAMPLESIZE 2048 56 #define SAMPLESIZE 2048
57 #else 57 #else
58 #define SAMPLESIZE 1024 58 #define SAMPLESIZE 1024
59 #endif 59 #endif
60 60