From cc8f80ad9bce251ca8f7a7d8161b165466d3a4eb Mon Sep 17 00:00:00 2001 From: Zakk Roberts Date: Mon, 17 Apr 2006 01:35:09 +0000 Subject: Temporary fix for the high-pitched sounds on iPod: they should sound correct now, but the real problem (frequency adjustment) still needs fixing; this is merely a workaround. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9698 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/i_sound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/doom') diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c index 2d0ebe9262..7579ada5b5 100644 --- a/apps/plugins/doom/i_sound.c +++ b/apps/plugins/doom/i_sound.c @@ -55,7 +55,11 @@ #define BUFMUL 4 #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) +#if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD) +#define SAMPLERATE 44100 // 44100 22050 11025 +#else #define SAMPLERATE 11025 // 44100 22050 11025 +#endif #define SAMPLESIZE 2 // 16bit // The global mixing buffer. -- cgit v1.2.3