summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-05 23:41:34 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-05 23:41:34 +0000
commitcf7600d2d2044442f502265ead87ab46b917c1bd (patch)
treed2b86c92331caedee683b70af717affce97764ee /apps
parente0cb0f68934db522031433f38ca6f909c039e22e (diff)
downloadrockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.gz
rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.bz2
rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/doom/i_sound.c6
1 files 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