summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/PulseAudioStream.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-02-03 22:52:34 +0100
committerdegasus <wickmarkus@web.de>2014-02-07 00:20:10 +0100
commitab124b96c4d952255986779b0dec303ef8921fd3 (patch)
treec9635cf1eac1d19e624ed7257c0e8c2dad69870a /Source/Core/AudioCommon/PulseAudioStream.cpp
parent5c646d334a419c1c2b9b126621d30b63436e556f (diff)
Atomic Stores / Loads
Diffstat (limited to 'Source/Core/AudioCommon/PulseAudioStream.cpp')
-rw-r--r--Source/Core/AudioCommon/PulseAudioStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/PulseAudioStream.cpp b/Source/Core/AudioCommon/PulseAudioStream.cpp
index 685d5365a8..fe68d0eb6c 100644
--- a/Source/Core/AudioCommon/PulseAudioStream.cpp
+++ b/Source/Core/AudioCommon/PulseAudioStream.cpp
@@ -47,7 +47,7 @@ void PulseAudio::SoundLoop()
if (PulseInit())
{
- while (m_run_thread && m_pa_connected == 1 && m_pa_error >= 0)
+ while (m_run_thread.load() && m_pa_connected == 1 && m_pa_error >= 0)
m_pa_error = pa_mainloop_iterate(m_pa_ml, 1, NULL);
if(m_pa_error < 0)