summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl/sound.c')
-rw-r--r--uisimulator/sdl/sound.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index 6068fb3863..388b188448 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -88,12 +88,14 @@ int sim_sound_init(void)
//SDL_CloseAudio();
}
-void sound_playback_thread(void)
+int sound_playback_thread(void* p)
{
int sndret = sim_sound_init();
unsigned char *buf;
long size;
+ (void)p;
+
while(sndret)
sleep(100000); /* wait forever, can't play sound! */