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/dedicated.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'alc/effects/dedicated.cpp') diff --git a/alc/effects/dedicated.cpp b/alc/effects/dedicated.cpp index 76dec5e0..c1741f64 100644 --- a/alc/effects/dedicated.cpp +++ b/alc/effects/dedicated.cpp @@ -37,17 +37,16 @@ struct DedicatedState final : public EffectState { float mTargetGains[MAX_OUTPUT_CHANNELS]; - 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(DedicatedState) }; -bool DedicatedState::deviceUpdate(const ALCdevice*) +void DedicatedState::deviceUpdate(const ALCdevice*) { std::fill(std::begin(mCurrentGains), std::end(mCurrentGains), 0.0f); - return true; } void DedicatedState::update(const ALCcontext*, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) -- cgit v1.2.3