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 /apps/plugins | |
| parent | e0cb0f68934db522031433f38ca6f909c039e22e (diff) | |
| download | rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.zip rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.gz rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.bz2 rockbox-cf7600d2d2044442f502265ead87ab46b917c1bd.tar.xz | |
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/plugins')
| -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 11be0ee..641721a 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 |