aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/autowah.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-22 18:43:34 -0800
committerChris Robinson <[email protected]>2018-12-22 18:43:34 -0800
commit86caf2683e77098d4e9855ef2eaab88b9f90df60 (patch)
tree8737e8b7e5527a8664e67a25f182b254c3be1582 /Alc/effects/autowah.cpp
parent334b3a905a1a387d5fb5f74483a7520bb5d5449a (diff)
Constify a parameter
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r--Alc/effects/autowah.cpp4
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. */