aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer/sdl/sdl-mixer.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-01 06:07:24 +0000
committerAlejandro Marzini2010-07-01 06:07:24 +0000
commita35db656d338525c86045d093a7230e110eff5a7 (patch)
tree30fcde5a1216fab91306edba485ecbe6bf16fa63 /backends/mixer/sdl/sdl-mixer.cpp
parent1bc87e3bee97d81d2c62126554c6380c7ce2bd1a (diff)
downloadscummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.tar.gz
scummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.tar.bz2
scummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.zip
Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
svn-id: r50542
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()