From cf7600d2d2044442f502265ead87ab46b917c1bd Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Tue, 5 Sep 2006 23:41:34 +0000 Subject: [PATCH] Fix sound in Doom on H10 - we don't support 11025Hz so use 44100Hz instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10895 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/i_sound.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c index 11be0ee2c1..641721a231 100644 --- a/apps/plugins/doom/i_sound.c +++ b/apps/plugins/doom/i_sound.c @@ -55,10 +55,10 @@ #define BUFMUL 2 #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) -#if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD) -#define SAMPLERATE 44100 // 44100 22050 11025 -#else +#if defined(HAVE_TLV320) || defined(HAVE_UDA1380) #define SAMPLERATE 11025 // 44100 22050 11025 +#else +#define SAMPLERATE 44100 // 44100 22050 11025 #endif #define SAMPLESIZE 2 // 16bit