diff options
author | Chris Robinson <[email protected]> | 2009-11-29 10:22:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-11-29 10:22:12 -0800 |
commit | fdd314f7f8eddb6085a69b812bfa5a74dff6533d (patch) | |
tree | aff8a6e399d0b8db2a4f2060dd81cfcca2a00bbf /Alc/oss.c | |
parent | 39b456d88ce298c7ecd0a59804cf1eba93c8d872 (diff) |
Reset the kill flag after the thread has stopped
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |