From 507cbfa0271e6183a06c5b2eec3465bc37a108e5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 26 Dec 2020 12:33:00 -0800 Subject: Combine EffectState::deviceUpdate with setBuffer --- alc/effects/base.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alc/effects/base.h') 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 { 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 samplesIn, -- cgit v1.2.3