diff options
Diffstat (limited to 'backends/mixer')
-rw-r--r-- | backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp | 2 | ||||
-rw-r--r-- | backends/mixer/sdl/sdl-mixer.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp b/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp index b2c2d6ec94..6b0074862e 100644 --- a/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp +++ b/backends/mixer/doublebuffersdl/doublebuffersdl-mixer.cpp @@ -23,7 +23,7 @@ * */ -#if defined(MACOSX) +#if defined(MACOSX) || defined(GP2X) #include "backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h" diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp index 2317a03335..b9e04532f8 100644 --- a/backends/mixer/sdl/sdl-mixer.cpp +++ b/backends/mixer/sdl/sdl-mixer.cpp @@ -29,8 +29,11 @@ #include "common/system.h" #include "common/config-manager.h" -//#define SAMPLES_PER_SEC 11025 +#ifdef GP2X +#define SAMPLES_PER_SEC 11025 +#else #define SAMPLES_PER_SEC 22050 +#endif //#define SAMPLES_PER_SEC 44100 SdlMixerManager::SdlMixerManager() |