aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
Diffstat (limited to 'al')
-rw-r--r--al/auxeffectslot.cpp4
-rw-r--r--al/auxeffectslot.h3
2 files changed, 1 insertions, 6 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp
index e43ad4ad..efc1bb2e 100644
--- a/al/auxeffectslot.cpp
+++ b/al/auxeffectslot.cpp
@@ -277,7 +277,7 @@ ALeffectslot *AllocEffectSlot(ALCcontext *context)
context->setError(err, "Effect slot object initialization failed");
return nullptr;
}
- aluInitEffectPanning(slot, context);
+ aluInitEffectPanning(&slot->mSlot, context);
/* Add 1 to avoid source ID 0. */
slot->id = ((lidx<<6) | slidx) + 1;
@@ -897,8 +897,6 @@ ALeffectslot::~ALeffectslot()
delete props;
}
- if(mWetBuffer)
- mWetBuffer->mInUse = false;
if(mSlot.mEffectState)
mSlot.mEffectState->release();
}
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h
index 4d3c8640..85239cc1 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -51,9 +51,6 @@ struct ALeffectslot {
/* Self ID */
ALuint id{};
- /* Mixing buffer used by the Wet mix. */
- WetBuffer *mWetBuffer{nullptr};
-
ALeffectslot() { PropsClean.test_and_set(std::memory_order_relaxed); }
ALeffectslot(const ALeffectslot&) = delete;
ALeffectslot& operator=(const ALeffectslot&) = delete;