diff options
author | Zakk Roberts <midk@rockbox.org> | 2006-04-17 01:35:09 +0000 |
---|---|---|
committer | Zakk Roberts <midk@rockbox.org> | 2006-04-17 01:35:09 +0000 |
commit | cc8f80ad9bce251ca8f7a7d8161b165466d3a4eb (patch) | |
tree | 114e03469b18bb8f8ca4824d0f6b6c3791a7c8af /apps/plugins | |
parent | 6f8af215b9dffa38752faa07f5f950b313a3e078 (diff) | |
download | rockbox-cc8f80ad9bce251ca8f7a7d8161b165466d3a4eb.tar.gz rockbox-cc8f80ad9bce251ca8f7a7d8161b165466d3a4eb.zip |
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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/doom/i_sound.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
55 | #define BUFMUL 4 | 55 | #define BUFMUL 4 |
56 | #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) | 56 | #define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL) |
57 | 57 | ||
58 | #if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD) | ||
59 | #define SAMPLERATE 44100 // 44100 22050 11025 | ||
60 | #else | ||
58 | #define SAMPLERATE 11025 // 44100 22050 11025 | 61 | #define SAMPLERATE 11025 // 44100 22050 11025 |
62 | #endif | ||
59 | #define SAMPLESIZE 2 // 16bit | 63 | #define SAMPLESIZE 2 // 16bit |
60 | 64 | ||
61 | // The global mixing buffer. | 65 | // The global mixing buffer. |