diff options
Diffstat (limited to 'Alc/effects/equalizer.cpp')
-rw-r--r-- | Alc/effects/equalizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/equalizer.cpp b/Alc/effects/equalizer.cpp index 2c46c2f3..a10316e8 100644 --- a/Alc/effects/equalizer.cpp +++ b/Alc/effects/equalizer.cpp @@ -90,14 +90,14 @@ struct ALequalizerState final : public EffectState { ALfloat mSampleBuffer[MAX_EFFECT_CHANNELS][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(ALequalizerState) }; -ALboolean ALequalizerState::deviceUpdate(ALCdevice *UNUSED(device)) +ALboolean ALequalizerState::deviceUpdate(const ALCdevice *UNUSED(device)) { for(auto &e : mChans) { |