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/dsound.c | |
parent | 39b456d88ce298c7ecd0a59804cf1eba93c8d872 (diff) |
Reset the kill flag after the thread has stopped
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index 111183f3..374cb00c 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -445,6 +445,8 @@ static void DSoundStopPlayback(ALCdevice *device) StopThread(pData->thread); pData->thread = NULL; + pData->killNow = 0; + IDirectSoundBuffer_Release(pData->DSsbuffer); pData->DSsbuffer = NULL; if (pData->DSpbuffer) |