aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-11-29 10:22:12 -0800
committerChris Robinson <[email protected]>2009-11-29 10:22:12 -0800
commitfdd314f7f8eddb6085a69b812bfa5a74dff6533d (patch)
treeaff8a6e399d0b8db2a4f2060dd81cfcca2a00bbf /Alc/alsa.c
parent39b456d88ce298c7ecd0a59804cf1eba93c8d872 (diff)
Reset the kill flag after the thread has stopped
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c1
1 files changed, 1 insertions, 0 deletions
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;
}