aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/chorus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/chorus.cpp')
-rw-r--r--Alc/effects/chorus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.cpp b/Alc/effects/chorus.cpp
index e0878eb0..925cd09f 100644
--- a/Alc/effects/chorus.cpp
+++ b/Alc/effects/chorus.cpp
@@ -90,14 +90,14 @@ struct ChorusState final : public EffectState {
ALfloat mFeedback{0.0f};
- 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(ChorusState)
};
-ALboolean ChorusState::deviceUpdate(ALCdevice *Device)
+ALboolean ChorusState::deviceUpdate(const ALCdevice *Device)
{
const ALfloat max_delay = maxf(AL_CHORUS_MAX_DELAY, AL_FLANGER_MAX_DELAY);
size_t maxlen;