aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/null.cpp')
-rw-r--r--Alc/effects/null.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/null.cpp b/Alc/effects/null.cpp
index d28a6889..ba591565 100644
--- a/Alc/effects/null.cpp
+++ b/Alc/effects/null.cpp
@@ -15,7 +15,7 @@ struct ALnullState final : public EffectState {
ALnullState();
~ALnullState() override;
- 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;
@@ -40,7 +40,7 @@ ALnullState::~ALnullState()
* initialization and any time the device parameters (eg. playback frequency,
* format) have been changed.
*/
-ALboolean ALnullState::deviceUpdate(ALCdevice* UNUSED(device))
+ALboolean ALnullState::deviceUpdate(const ALCdevice* UNUSED(device))
{
return AL_TRUE;
}