From 4e760bbecc6ac4031dca45b4882c6faa71842e90 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 Nov 2020 08:36:49 -0800 Subject: Use a separate structure for the active effect slot properties --- alc/effects/base.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'alc/effects/base.h') diff --git a/alc/effects/base.h b/alc/effects/base.h index db38fc49..0efd5599 100644 --- a/alc/effects/base.h +++ b/alc/effects/base.h @@ -10,7 +10,7 @@ #include "atomic.h" #include "intrusive_ptr.h" -struct ALeffectslot; +struct EffectSlot; struct BufferStorage; @@ -168,8 +168,10 @@ struct EffectState : public al::intrusive_ref { virtual void deviceUpdate(const ALCdevice *device) = 0; virtual void setBuffer(const ALCdevice* /*device*/, const BufferStorage* /*buffer*/) { } - virtual void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) = 0; - virtual void process(const size_t samplesToDo, const al::span samplesIn, const al::span samplesOut) = 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, + const al::span samplesOut) = 0; }; -- cgit v1.2.3