From ffa573f88020e4de9300a013721068672c923f33 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 4 Mar 2013 22:28:03 +0100 Subject: raspberry pi port --- sound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sound.c') 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; -- cgit v1.2.3