summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/doom/i_sound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c
index 2d0ebe9..7579ada 100644
--- a/apps/plugins/doom/i_sound.c
+++ b/apps/plugins/doom/i_sound.c
@@ -55,7 +55,11 @@
#define BUFMUL 4
#define MIXBUFFERSIZE (SAMPLECOUNT*BUFMUL)
+#if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
+#define SAMPLERATE 44100 // 44100 22050 11025
+#else
#define SAMPLERATE 11025 // 44100 22050 11025
+#endif
#define SAMPLESIZE 2 // 16bit
// The global mixing buffer.