X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound.c;h=81f1fa6a8ea0d4b241ef1ce5ee8921404a069c2e;hb=45856fe804b39f8a5fcf39a1617c1fe548a3ecae;hp=962b3a6baf58bff753d3497bb676f633a9848547;hpb=6a298de4811066eb3cd2fadfd78970281ed30074;p=gpsp.git 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;