aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/opensl.cpp2
-rw-r--r--Alc/mixvoice.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp
index d59ef5f3..9e8e5031 100644
--- a/Alc/backends/opensl.cpp
+++ b/Alc/backends/opensl.cpp
@@ -580,7 +580,7 @@ static ALCboolean ALCopenslPlayback_start(ALCopenslPlayback *self)
if(SL_RESULT_SUCCESS != result)
return ALC_FALSE;
- ATOMIC_STORE_SEQ(&self->mKillNow, AL_FALSE);
+ self->mKillNow.store(AL_FALSE);
if(althrd_create(&self->mThread, ALCopenslPlayback_mixerProc, self) != althrd_success)
{
ERR("Failed to start mixer thread\n");
diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp
index 5a1a1d4d..86de61ee 100644
--- a/Alc/mixvoice.cpp
+++ b/Alc/mixvoice.cpp
@@ -706,7 +706,7 @@ ALboolean MixSource(ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsize
DataPosInt -= BufferListItem->max_samples;
buffers_done += BufferListItem->num_buffers;
- BufferListItem = ATOMIC_LOAD(&BufferListItem->next, almemory_order_relaxed);
+ BufferListItem = BufferListItem->next.load(std::memory_order_relaxed);
if(!BufferListItem && !(BufferListItem=BufferLoopItem))
{
isplaying = false;