aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer
diff options
context:
space:
mode:
authorBastien Bouclet2015-03-08 13:45:03 +0100
committerBastien Bouclet2015-12-15 20:10:19 +0100
commitf37fb24caa87f5cde418ac8376e7fab1a1207dae (patch)
tree1556dec9a9d0d2c43909c018c277defb0292a466 /backends/mixer
parentaa9191c4c46183664d2c3f64dbebbb1119067148 (diff)
downloadscummvm-rg350-f37fb24caa87f5cde418ac8376e7fab1a1207dae.tar.gz
scummvm-rg350-f37fb24caa87f5cde418ac8376e7fab1a1207dae.tar.bz2
scummvm-rg350-f37fb24caa87f5cde418ac8376e7fab1a1207dae.zip
PS3: Set the default audio output rate to 48000 Hz
SDL does an awful job at resampling 44100 -> 48000 Hz
Diffstat (limited to 'backends/mixer')
-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