diff options
Diffstat (limited to 'Alc/effects/compressor.cpp')
-rw-r--r-- | Alc/effects/compressor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/compressor.cpp b/Alc/effects/compressor.cpp index 31210264..d502be43 100644 --- a/Alc/effects/compressor.cpp +++ b/Alc/effects/compressor.cpp @@ -48,14 +48,14 @@ struct ALcompressorState final : public EffectState { ALfloat mEnvFollower{1.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(ALcompressorState) }; -ALboolean ALcompressorState::deviceUpdate(ALCdevice *device) +ALboolean ALcompressorState::deviceUpdate(const ALCdevice *device) { /* Number of samples to do a full attack and release (non-integer sample * counts are okay). |