diff options
author | Chris Robinson <[email protected]> | 2020-08-24 20:34:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-08-24 20:40:24 -0700 |
commit | a6bd53c4e1de084d93541f23d391154d7949b678 (patch) | |
tree | f33a98b0e978eaf14191806271fb883f95783a69 /al/auxeffectslot.h | |
parent | 1a9fbc1b2f7456f14e9cb74d95f4696cbe5c5af3 (diff) |
Store a reference to the effect buffer as an active property
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r-- | al/auxeffectslot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index de640b58..79373f45 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -32,6 +32,7 @@ struct ALeffectslotProps { EffectProps Props; al::intrusive_ptr<EffectState> State; + al::intrusive_ptr<EffectBufferBase> Buffer; std::atomic<ALeffectslotProps*> next; @@ -67,6 +68,7 @@ struct ALeffectslot { ALenum EffectType{AL_EFFECT_NULL}; EffectProps mEffectProps{}; EffectState *mEffectState{nullptr}; + EffectBufferBase *mEffectBuffer{nullptr}; float RoomRolloff{0.0f}; /* Added to the source's room rolloff, not multiplied. */ float DecayTime{0.0f}; |