aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/alc.cpp2
-rw-r--r--alc/alu.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index ca7dbb0f..baf31993 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -2382,7 +2382,7 @@ ALCcontext::~ALCcontext()
mVoices = nullptr;
mVoiceCount.store(0, std::memory_order_relaxed);
- ALlistenerProps *lprops{mListener.Update.exchange(nullptr, std::memory_order_relaxed)};
+ ALlistenerProps *lprops{mListener.Params.Update.exchange(nullptr, std::memory_order_relaxed)};
if(lprops)
{
TRACE("Freed unapplied listener update %p\n", lprops);
diff --git a/alc/alu.cpp b/alc/alu.cpp
index aebb2236..4a0ea8f9 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -286,7 +286,7 @@ bool CalcListenerParams(ALCcontext *Context)
{
ALlistener &Listener = Context->mListener;
- ALlistenerProps *props{Listener.Update.exchange(nullptr, std::memory_order_acq_rel)};
+ ALlistenerProps *props{Listener.Params.Update.exchange(nullptr, std::memory_order_acq_rel)};
if(!props) return false;
/* AT then UP */
@@ -321,7 +321,7 @@ bool CalcListenerParams(ALCcontext *Context)
bool CalcEffectSlotParams(ALeffectslot *slot, ALCcontext *context)
{
- ALeffectslotProps *props{slot->Update.exchange(nullptr, std::memory_order_acq_rel)};
+ ALeffectslotProps *props{slot->Params.Update.exchange(nullptr, std::memory_order_acq_rel)};
if(!props) return false;
slot->Params.Gain = props->Gain;