From 0116eb64f2ee2d8a7a9d3d1db7d0d5cf354770c4 Mon Sep 17 00:00:00 2001 From: craigsc Date: Sat, 11 Jan 2020 17:03:58 -0800 Subject: Default gcw0 back to adlib emulator due to high CPU cost of fluidsynth. I'm leaving fluidsynth in the build because the quality is higher and it does technically work and feel good on several games. Added back in MAD support for MP3 playback for CD-based music tracks on games like Monkey Island 1 - the auto-detection seems to not work correctly for gcw0. Default mixer sampling rate to 48000 due to device driver limitations (this should lower CPU cost since anything other than 48k gets re-sampled) --- backends/mixer/sdl/sdl-mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp index 2a46d877b2..4dca3923dd 100644 --- a/backends/mixer/sdl/sdl-mixer.cpp +++ b/backends/mixer/sdl/sdl-mixer.cpp @@ -32,7 +32,7 @@ #if defined(GP2X) #define SAMPLES_PER_SEC 11025 -#elif defined(PLAYSTATION3) || defined(PSP2) || defined(NINTENDO_SWITCH) +#elif defined(PLAYSTATION3) || defined(PSP2) || defined(NINTENDO_SWITCH) || defined(GCW0) #define SAMPLES_PER_SEC 48000 #else #define SAMPLES_PER_SEC 44100 -- cgit v1.2.3