diff options
Diffstat (limited to 'alc/effects/dedicated.cpp')
-rw-r--r-- | alc/effects/dedicated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/dedicated.cpp b/alc/effects/dedicated.cpp index e71f75f0..cf435357 100644 --- a/alc/effects/dedicated.cpp +++ b/alc/effects/dedicated.cpp @@ -37,7 +37,7 @@ struct DedicatedState final : public EffectState { float mTargetGains[MAX_OUTPUT_CHANNELS]; - 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, @@ -46,7 +46,7 @@ struct DedicatedState final : public EffectState { DEF_NEWDEL(DedicatedState) }; -void DedicatedState::deviceUpdate(const ALCdevice*) +void DedicatedState::deviceUpdate(const ALCdevice*, const BufferStorage*) { std::fill(std::begin(mCurrentGains), std::end(mCurrentGains), 0.0f); } |