summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio.c b/audio.c
index 77f95a5..a9f4251 100644
--- a/audio.c
+++ b/audio.c
@@ -1932,6 +1932,7 @@ static void AudioExitThread(void)
}
pthread_cond_destroy(&AudioStartCond);
pthread_mutex_destroy(&AudioMutex);
+ AudioThread = 0;
}
}
@@ -2187,6 +2188,7 @@ void AudioExit(void)
#ifdef USE_AUDIORING
AudioRingExit();
#endif
+ AudioRunning = 0;
}
#ifdef AUDIO_TEST