diff options
author | Chris Robinson <[email protected]> | 2020-12-26 12:33:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-26 12:33:00 -0800 |
commit | 507cbfa0271e6183a06c5b2eec3465bc37a108e5 (patch) | |
tree | edcb87473a70ea6b57ff01a400b1adfd149b9a2f /alc/effects/base.h | |
parent | 54719de13235f6ea216e8d200661027c047bd283 (diff) |
Combine EffectState::deviceUpdate with setBuffer
Diffstat (limited to 'alc/effects/base.h')
-rw-r--r-- | alc/effects/base.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/effects/base.h b/alc/effects/base.h index fe595797..8fa22bb5 100644 --- a/alc/effects/base.h +++ b/alc/effects/base.h @@ -169,8 +169,7 @@ struct EffectState : public al::intrusive_ref<EffectState> { virtual ~EffectState() = default; - virtual void deviceUpdate(const ALCdevice *device) = 0; - virtual void setBuffer(const ALCdevice* /*device*/, const BufferStorage* /*buffer*/) { } + virtual void deviceUpdate(const ALCdevice *device, const BufferStorage *buffer) = 0; virtual void update(const ALCcontext *context, const EffectSlot *slot, const EffectProps *props, const EffectTarget target) = 0; virtual void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, |