aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/opensl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r--Alc/backends/opensl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp
index 2a87e19b..d59ef5f3 100644
--- a/Alc/backends/opensl.cpp
+++ b/Alc/backends/opensl.cpp
@@ -248,9 +248,8 @@ static int ALCopenslPlayback_mixerProc(void *arg)
if(SL_RESULT_SUCCESS != result)
aluHandleDisconnect(device, "Failed to get playback buffer: 0x%08x", result);
- while(SL_RESULT_SUCCESS == result &&
- !ATOMIC_LOAD(&self->mKillNow, almemory_order_acquire) &&
- ATOMIC_LOAD(&device->Connected, almemory_order_acquire))
+ while(SL_RESULT_SUCCESS == result && !self->mKillNow.load(std::memory_order_acquire) &&
+ device->Connected.load(std::memory_order_acquire))
{
size_t todo;