From 27ac637a66df64c4135b77ee123d1a02076b08a0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 16 Apr 2020 17:29:32 -0700 Subject: Remove another unnecessary return value --- alc/effects/fshifter.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'alc/effects/fshifter.cpp') diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index 3fd322b9..c2ed5fb2 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -82,14 +82,14 @@ struct FshifterState final : public EffectState { } mGains[2]; - bool deviceUpdate(const ALCdevice *device) override; + void deviceUpdate(const ALCdevice *device) override; void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) override; void process(const size_t samplesToDo, const al::span samplesIn, const al::span samplesOut) override; DEF_NEWDEL(FshifterState) }; -bool FshifterState::deviceUpdate(const ALCdevice*) +void FshifterState::deviceUpdate(const ALCdevice*) { /* (Re-)initializing parameters and clear the buffers. */ mCount = FIFO_LATENCY; @@ -107,8 +107,6 @@ bool FshifterState::deviceUpdate(const ALCdevice*) std::fill(std::begin(gain.Current), std::end(gain.Current), 0.0f); std::fill(std::begin(gain.Target), std::end(gain.Target), 0.0f); } - - return true; } void FshifterState::update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) -- cgit v1.2.3