From 13c1d7efb7141aee93d32a60c0e609e61a64f550 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 24 Jan 2021 02:07:39 -0800 Subject: Store buffer info in the queue entry --- alc/effects/vmorpher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/effects/vmorpher.cpp') diff --git a/alc/effects/vmorpher.cpp b/alc/effects/vmorpher.cpp index f1c46b8c..ab21439c 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -138,7 +138,7 @@ struct VmorpherState final : public EffectState { alignas(16) float mSampleBufferB[MAX_UPDATE_SAMPLES]{}; alignas(16) float mLfo[MAX_UPDATE_SAMPLES]{}; - void deviceUpdate(const ALCdevice *device, const BufferStorage *buffer) override; + void deviceUpdate(const ALCdevice *device, const Buffer &buffer) override; void update(const ALCcontext *context, const EffectSlot *slot, const EffectProps *props, const EffectTarget target) override; void process(const size_t samplesToDo, const al::span samplesIn, @@ -202,7 +202,7 @@ std::array VmorpherState::getFiltersByPhoneme(VMorpherPhenome p } -void VmorpherState::deviceUpdate(const ALCdevice* /*device*/, const BufferStorage* /*buffer*/) +void VmorpherState::deviceUpdate(const ALCdevice*, const Buffer&) { for(auto &e : mChans) { -- cgit v1.2.3