From a35db656d338525c86045d093a7230e110eff5a7 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Thu, 1 Jul 2010 06:07:24 +0000 Subject: Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code. svn-id: r50542 --- backends/mixer/sdl/sdl-mixer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends/mixer/sdl/sdl-mixer.cpp') 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() -- cgit v1.2.3