From fdd314f7f8eddb6085a69b812bfa5a74dff6533d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 29 Nov 2009 10:22:12 -0800 Subject: Reset the kill flag after the thread has stopped --- Alc/alsa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc/alsa.c') diff --git a/Alc/alsa.c b/Alc/alsa.c index c239c61a..76f12fdb 100644 --- a/Alc/alsa.c +++ b/Alc/alsa.c @@ -706,6 +706,7 @@ static void alsa_stop_playback(ALCdevice *device) StopThread(data->thread); data->thread = NULL; } + data->killNow = 0; free(data->buffer); data->buffer = NULL; } -- cgit v1.2.3