From 2909f263fd1a2e7122b0345c6d11209084815fd1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 29 May 2019 22:31:36 -0700 Subject: Use span for EffectState::process output --- Alc/effects/base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/effects/base.h') diff --git a/Alc/effects/base.h b/Alc/effects/base.h index c7c6f1c0..d2b33b9b 100644 --- a/Alc/effects/base.h +++ b/Alc/effects/base.h @@ -4,6 +4,7 @@ #include "alMain.h" #include "almalloc.h" +#include "alspan.h" #include "atomic.h" @@ -151,7 +152,7 @@ struct EffectState { virtual ALboolean deviceUpdate(const ALCdevice *device) = 0; virtual void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) = 0; - virtual void process(const ALsizei samplesToDo, const FloatBufferLine *RESTRICT samplesIn, const ALsizei numInput, FloatBufferLine *RESTRICT samplesOut, const ALsizei numOutput) = 0; + virtual void process(const ALsizei samplesToDo, const FloatBufferLine *RESTRICT samplesIn, const ALsizei numInput, const al::span samplesOut) = 0; void IncRef() noexcept; void DecRef() noexcept; -- cgit v1.2.3