aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/echo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/echo.cpp')
-rw-r--r--Alc/effects/echo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/echo.cpp b/Alc/effects/echo.cpp
index 3604bed4..b9310193 100644
--- a/Alc/effects/echo.cpp
+++ b/Alc/effects/echo.cpp
@@ -56,14 +56,14 @@ struct ALechoState final : public EffectState {
BiquadFilter mFilter;
- 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(ALechoState)
};
-ALboolean ALechoState::deviceUpdate(ALCdevice *Device)
+ALboolean ALechoState::deviceUpdate(const ALCdevice *Device)
{
ALuint maxlen;