aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer/sdl/sdl-mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/mixer/sdl/sdl-mixer.cpp')
-rw-r--r--backends/mixer/sdl/sdl-mixer.cpp5
1 files changed, 4 insertions, 1 deletions
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()