diff options
author | Chris Robinson <[email protected]> | 2014-12-17 09:47:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-17 09:47:58 -0800 |
commit | af193e9fb320d3b7ca8decab59d7ba074579c21f (patch) | |
tree | ff10350b14a8a61ca4ba582f20e2bba89d5648af /Alc/backends/pulseaudio.c | |
parent | c37275efdc9b707dbf0d1e99d7bc1ffdef263600 (diff) |
Don't kill pulseaudio's mixer thread if it's already killed
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 2 |
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; |