aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-22 18:43:34 -0800
committerChris Robinson <[email protected]>2018-12-22 18:43:34 -0800
commit86caf2683e77098d4e9855ef2eaab88b9f90df60 (patch)
tree8737e8b7e5527a8664e67a25f182b254c3be1582 /OpenAL32
parent334b3a905a1a387d5fb5f74483a7520bb5d5449a (diff)
Constify a parameter
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 586fc507..539cee53 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -20,7 +20,7 @@ struct EffectState {
virtual ~EffectState() = default;
- virtual ALboolean deviceUpdate(ALCdevice *device) = 0;
+ virtual ALboolean deviceUpdate(const ALCdevice *device) = 0;
virtual void update(const ALCcontext *context, const ALeffectslot *slot, const ALeffectProps *props) = 0;
virtual void process(ALsizei samplesToDo, const ALfloat (*RESTRICT samplesIn)[BUFFERSIZE], ALfloat (*RESTRICT samplesOut)[BUFFERSIZE], ALsizei numChannels) = 0;