aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-12-17 09:47:58 -0800
committerChris Robinson <[email protected]>2014-12-17 09:47:58 -0800
commitaf193e9fb320d3b7ca8decab59d7ba074579c21f (patch)
treeff10350b14a8a61ca4ba582f20e2bba89d5648af /Alc
parentc37275efdc9b707dbf0d1e99d7bc1ffdef263600 (diff)
Don't kill pulseaudio's mixer thread if it's already killed
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 7ad7dd18..c53283b5 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -1048,7 +1048,7 @@ static void ALCpulsePlayback_stop(ALCpulsePlayback *self)
pa_operation *o;
int res;
- if(!self->stream)
+ if(!self->stream || self->killNow)
return;
self->killNow = AL_TRUE;