aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/distortion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/distortion.cpp')
-rw-r--r--Alc/effects/distortion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/distortion.cpp b/Alc/effects/distortion.cpp
index b3d339ad..58d05e8f 100644
--- a/Alc/effects/distortion.cpp
+++ b/Alc/effects/distortion.cpp
@@ -44,14 +44,14 @@ struct ALdistortionState final : public EffectState {
ALfloat mBuffer[2][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(ALdistortionState)
};
-ALboolean ALdistortionState::deviceUpdate(ALCdevice *UNUSED(device))
+ALboolean ALdistortionState::deviceUpdate(const ALCdevice *UNUSED(device))
{
mLowpass.clear();
mBandpass.clear();