diff options
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r-- | Alc/effects/autowah.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp index 19c247a9..e034c610 100644 --- a/Alc/effects/autowah.cpp +++ b/Alc/effects/autowah.cpp @@ -68,14 +68,14 @@ struct ALautowahState final : public EffectState { alignas(16) ALfloat mBufferOut[BUFFERSIZE]; - ALboolean deviceUpdate(ALCdevice *device) override; + ALboolean deviceUpdate(const ALCdevice *device) override; void update(const ALCcontext *context, const ALeffectslot *slot, const ALeffectProps *props) override; void process(ALsizei samplesToDo, const ALfloat (*RESTRICT samplesIn)[BUFFERSIZE], ALfloat (*RESTRICT samplesOut)[BUFFERSIZE], ALsizei numChannels) override; DEF_NEWDEL(ALautowahState) }; -ALboolean ALautowahState::deviceUpdate(ALCdevice *UNUSED(device)) +ALboolean ALautowahState::deviceUpdate(const ALCdevice *UNUSED(device)) { /* (Re-)initializing parameters and clear the buffers. */ |