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/oss.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc/oss.c') diff --git a/Alc/oss.c b/Alc/oss.c index 63c92333..c3cd9528 100644 --- a/Alc/oss.c +++ b/Alc/oss.c @@ -292,6 +292,7 @@ static void oss_stop_playback(ALCdevice *device) StopThread(data->thread); data->thread = NULL; + data->killNow = 0; if(ioctl(data->fd, SNDCTL_DSP_RESET) != 0) AL_PRINT("Error resetting device: %s\n", strerror(errno)); -- cgit v1.2.3