diff options
author | Chris Robinson <[email protected]> | 2020-12-26 12:33:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-26 12:33:00 -0800 |
commit | 507cbfa0271e6183a06c5b2eec3465bc37a108e5 (patch) | |
tree | edcb87473a70ea6b57ff01a400b1adfd149b9a2f /alc/effects/autowah.cpp | |
parent | 54719de13235f6ea216e8d200661027c047bd283 (diff) |
Combine EffectState::deviceUpdate with setBuffer
Diffstat (limited to 'alc/effects/autowah.cpp')
-rw-r--r-- | alc/effects/autowah.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/autowah.cpp b/alc/effects/autowah.cpp index a64a93db..154c33ff 100644 --- a/alc/effects/autowah.cpp +++ b/alc/effects/autowah.cpp @@ -69,7 +69,7 @@ struct AutowahState final : public EffectState { alignas(16) float mBufferOut[BufferLineSize]; - 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<const FloatBufferLine> samplesIn, @@ -78,7 +78,7 @@ struct AutowahState final : public EffectState { DEF_NEWDEL(AutowahState) }; -void AutowahState::deviceUpdate(const ALCdevice*) +void AutowahState::deviceUpdate(const ALCdevice*, const BufferStorage* /*buffer*/) { /* (Re-)initializing parameters and clear the buffers. */ |