aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/mixer/sdl')
-rw-r--r--backends/mixer/sdl/sdl-mixer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp
index 6afeeaefc6..0ca3231892 100644
--- a/backends/mixer/sdl/sdl-mixer.cpp
+++ b/backends/mixer/sdl/sdl-mixer.cpp
@@ -30,8 +30,10 @@
#include "common/config-manager.h"
#include "common/textconsole.h"
-#ifdef GP2X
+#if defined(GP2X)
#define SAMPLES_PER_SEC 11025
+#elif defined(PLAYSTATION3)
+#define SAMPLES_PER_SEC 48000
#else
#define SAMPLES_PER_SEC 44100
#endif