aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/jack.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-26 18:07:52 -0800
committerChris Robinson <[email protected]>2018-11-26 18:07:52 -0800
commit461ef4196ed78a2803325fbda45a035ed5e6cf71 (patch)
treebf92d6f96cca8e296e88766d3213950a1f797635 /Alc/backends/jack.cpp
parent1a9edd4e35ff15bef8662313a9982f62732f5055 (diff)
Avoid using ATOMIC_LOAD on ALCdevice::Connected
Diffstat (limited to 'Alc/backends/jack.cpp')
-rw-r--r--Alc/backends/jack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp
index daa15219..fc385f7b 100644
--- a/Alc/backends/jack.cpp
+++ b/Alc/backends/jack.cpp
@@ -301,7 +301,7 @@ static int ALCjackPlayback_mixerProc(void *arg)
ALCjackPlayback_lock(self);
while(!self->mKillNow.load(std::memory_order_acquire) &&
- ATOMIC_LOAD(&device->Connected, almemory_order_acquire))
+ device->Connected.load(std::memory_order_acquire))
{
ALuint todo, len1, len2;