aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/dedicated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/dedicated.cpp')
-rw-r--r--Alc/effects/dedicated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/dedicated.cpp b/Alc/effects/dedicated.cpp
index c0af33e1..fa550397 100644
--- a/Alc/effects/dedicated.cpp
+++ b/Alc/effects/dedicated.cpp
@@ -36,14 +36,14 @@ struct ALdedicatedState final : public EffectState {
ALfloat mTargetGains[MAX_OUTPUT_CHANNELS];
- 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(ALdedicatedState)
};
-ALboolean ALdedicatedState::deviceUpdate(ALCdevice *UNUSED(device))
+ALboolean ALdedicatedState::deviceUpdate(const ALCdevice *UNUSED(device))
{
std::fill(std::begin(mCurrentGains), std::end(mCurrentGains), 0.0f);
return AL_TRUE;