aboutsummaryrefslogtreecommitdiffstats
path: root/core/effectslot.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-15 06:24:37 -0700
committerChris Robinson <[email protected]>2022-07-15 06:58:15 -0700
commitaf5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (patch)
tree9a10efe4dd38caa17895b308ba0a42379ec824a1 /core/effectslot.h
parent0f4679981b575cc76158126dec7d9bdda3ba1c29 (diff)
Don't store and manage wet buffers separately
Diffstat (limited to 'core/effectslot.h')
-rw-r--r--core/effectslot.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/effectslot.h b/core/effectslot.h
index 2470326d..affbccb0 100644
--- a/core/effectslot.h
+++ b/core/effectslot.h
@@ -78,9 +78,8 @@ struct EffectSlot {
float AirAbsorptionGainHF{1.0f};
/* Mixing buffer used by the Wet mix. */
- WetBuffer *mWetBuffer{nullptr};
+ al::vector<FloatBufferLine,16> mWetBuffer;
- ~EffectSlot();
static EffectSlotArray *CreatePtrArray(size_t count) noexcept;