aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/effects/null.cpp')
-rw-r--r--alc/effects/null.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/effects/null.cpp b/alc/effects/null.cpp
index 8ad928ca..5bef1827 100644
--- a/alc/effects/null.cpp
+++ b/alc/effects/null.cpp
@@ -18,7 +18,7 @@ struct NullState final : public EffectState {
NullState();
~NullState() override;
- 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;
@@ -40,9 +40,8 @@ NullState::~NullState() = default;
* format) have been changed. Will always be followed by a call to the update
* method, if successful.
*/
-bool NullState::deviceUpdate(const ALCdevice* /*device*/)
+void NullState::deviceUpdate(const ALCdevice* /*device*/)
{
- return true;
}
/* This updates the effect state with new properties. This is called any time