summaryrefslogtreecommitdiff
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)
88 //SDL_CloseAudio(); 88 //SDL_CloseAudio();
89} 89}
90 90
91void sound_playback_thread(void) 91int sound_playback_thread(void* p)
92{ 92{
93 int sndret = sim_sound_init(); 93 int sndret = sim_sound_init();
94 unsigned char *buf; 94 unsigned char *buf;
95 long size; 95 long size;
96 96
97 (void)p;
98
97 while(sndret) 99 while(sndret)
98 sleep(100000); /* wait forever, can't play sound! */ 100 sleep(100000); /* wait forever, can't play sound! */
99 101