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/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 aade1ea0..32c4b811 100644 --- a/alc/effects/vmorpher.cpp +++ b/alc/effects/vmorpher.cpp @@ -136,7 +136,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) override; + void deviceUpdate(const ALCdevice *device, const BufferStorage *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, @@ -200,7 +200,7 @@ std::array VmorpherState::getFiltersByPhoneme(VMorpherPhenome p } -void VmorpherState::deviceUpdate(const ALCdevice* /*device*/) +void VmorpherState::deviceUpdate(const ALCdevice* /*device*/, const BufferStorage* /*buffer*/) { for(auto &e : mChans) { -- cgit v1.2.3