summaryrefslogtreecommitdiff
path: root/sound.c
diff options
context:
space:
mode:
authorDave2013-03-04 22:28:03 +0100
committernotaz2013-03-07 23:16:38 +0200
commitffa573f88020e4de9300a013721068672c923f33 (patch)
tree48bdc5b166e0211b24155b77fe28075e3c258135 /sound.c
parent6a298de4811066eb3cd2fadfd78970281ed30074 (diff)
downloadpicogpsp-ffa573f88020e4de9300a013721068672c923f33.tar.gz
picogpsp-ffa573f88020e4de9300a013721068672c923f33.tar.bz2
picogpsp-ffa573f88020e4de9300a013721068672c923f33.zip
raspberry pi port
Diffstat (limited to 'sound.c')
-rw-r--r--sound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound.c b/sound.c
index 962b3a6..81f1fa6 100644
--- a/sound.c
+++ b/sound.c
@@ -25,7 +25,11 @@ u32 global_enable_audio = 1;
direct_sound_struct direct_sound_channel[2];
gbc_sound_struct gbc_sound_channel[4];
+#ifdef RPI_BUILD
+u32 sound_frequency = 22050;
+#else
u32 sound_frequency = 44100;
+#endif
SDL_mutex *sound_mutex;
static SDL_cond *sound_cv;