diff options
Diffstat (limited to 'core/effects')
-rw-r--r-- | core/effects/base.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/effects/base.h b/core/effects/base.h index 3094f627..0d01044f 100644 --- a/core/effects/base.h +++ b/core/effects/base.h @@ -178,17 +178,12 @@ struct EffectTarget { }; struct EffectState : public al::intrusive_ref<EffectState> { - struct Buffer { - const BufferStorage *storage; - al::span<const al::byte> samples; - }; - al::span<FloatBufferLine> mOutTarget; virtual ~EffectState() = default; - virtual void deviceUpdate(const DeviceBase *device, const Buffer &buffer) = 0; + virtual void deviceUpdate(const DeviceBase *device, const BufferStorage *buffer) = 0; virtual void update(const ContextBase *context, const EffectSlot *slot, const EffectProps *props, const EffectTarget target) = 0; virtual void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, |