diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-09-05 23:41:34 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-09-05 23:41:34 +0000 |
commit | cf7600d2d2044442f502265ead87ab46b917c1bd (patch) | |
tree | d2b86c92331caedee683b70af717affce97764ee | |
parent | e0cb0f68934db522031433f38ca6f909c039e22e (diff) | |
download | rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.gz 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
-rw-r--r-- | apps/plugins/doom/i_sound.c | 6 |
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 @@ | |||
55 | #define BUFMUL 2 | 55 | #define BUFMUL 2 |
56 | #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) | 56 | #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) |
57 | 57 | ||
58 | #if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD) | 58 | #if defined(HAVE_TLV320) || defined(HAVE_UDA1380) |
59 | #define SAMPLERATE 44100 // 44100 22050 11025 | ||
60 | #else | ||
61 | #define SAMPLERATE 11025 // 44100 22050 11025 | 59 | #define SAMPLERATE 11025 // 44100 22050 11025 |
60 | #else | ||
61 | #define SAMPLERATE 44100 // 44100 22050 11025 | ||
62 | #endif | 62 | #endif |
63 | #define SAMPLESIZE 2 // 16bit | 63 | #define SAMPLESIZE 2 // 16bit |
64 | 64 | ||