diff options
author | Chris Robinson <[email protected]> | 2020-04-16 17:29:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-16 17:29:32 -0700 |
commit | 27ac637a66df64c4135b77ee123d1a02076b08a0 (patch) | |
tree | fb91318537aaa071000c1f4b340ed3822c01bc12 /alc/effects/pshifter.cpp | |
parent | cf4a848fd0c42e85e5ce68e33120386d932e6375 (diff) |
Remove another unnecessary return value
Diffstat (limited to 'alc/effects/pshifter.cpp')
-rw-r--r-- | alc/effects/pshifter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/alc/effects/pshifter.cpp b/alc/effects/pshifter.cpp index c4d70292..136558d5 100644 --- a/alc/effects/pshifter.cpp +++ b/alc/effects/pshifter.cpp @@ -96,14 +96,14 @@ struct PshifterState 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<const FloatBufferLine> samplesIn, const al::span<FloatBufferLine> samplesOut) override; DEF_NEWDEL(PshifterState) }; -bool PshifterState::deviceUpdate(const ALCdevice *device) +void PshifterState::deviceUpdate(const ALCdevice *device) { /* (Re-)initializing parameters and clear the buffers. */ mCount = FIFO_LATENCY; @@ -121,8 +121,6 @@ bool PshifterState::deviceUpdate(const ALCdevice *device) std::fill(std::begin(mCurrentGains), std::end(mCurrentGains), 0.0f); std::fill(std::begin(mTargetGains), std::end(mTargetGains), 0.0f); - - return true; } void PshifterState::update(const ALCcontext*, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) |