diff options
author | Chris Robinson <[email protected]> | 2014-05-10 07:25:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-10 07:25:05 -0700 |
commit | 67b4bd1031ba6b9def829fafe41a3b327a60aca6 (patch) | |
tree | 314ba1da9b391309305da861b537b6a8207577bc /Alc/ALu.c | |
parent | 9642bf637d32c5cff191e633ea4df61ac42a511b (diff) |
Add a couple consts
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -277,7 +277,7 @@ ALvoid CalcNonAttnSourceParams(ALactivesource *src, const ALCcontext *ALContext) }; ALCdevice *Device = ALContext->Device; - ALsource *ALSource = src->Source; + const ALsource *ALSource = src->Source; ALfloat SourceVolume,ListenerGain,MinVolume,MaxVolume; ALbufferlistitem *BufferListItem; enum FmtChannels Channels; @@ -600,7 +600,7 @@ ALvoid CalcNonAttnSourceParams(ALactivesource *src, const ALCcontext *ALContext) ALvoid CalcSourceParams(ALactivesource *src, const ALCcontext *ALContext) { ALCdevice *Device = ALContext->Device; - ALsource *ALSource = src->Source; + const ALsource *ALSource = src->Source; ALfloat Velocity[3],Direction[3],Position[3],SourceToListener[3]; ALfloat InnerAngle,OuterAngle,Angle,Distance,ClampedDist; ALfloat MinVolume,MaxVolume,MinDist,MaxDist,Rolloff; |