aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-04 20:42:25 -0700
committerChris Robinson <[email protected]>2016-08-04 20:42:25 -0700
commit232293792dad120da91f62b92ea270a58e065a91 (patch)
tree9cbe45f4f74878f98cb9a0d78f3208652c1467d6
parent48b954160ec5bffab04d072cdfd0685ca521c407 (diff)
Constify some variables
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 70fe7f49..8b885121 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1284,7 +1284,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALsourceProps *pro
static void CalcSourceParams(ALvoice *voice, ALCcontext *context)
{
ALsource *source = voice->Source;
- ALbufferlistitem *BufferListItem;
+ const ALbufferlistitem *BufferListItem;
struct ALsourceProps *first;
struct ALsourceProps *props;
@@ -1294,7 +1294,7 @@ static void CalcSourceParams(ALvoice *voice, ALCcontext *context)
BufferListItem = ATOMIC_LOAD(&source->queue, almemory_order_relaxed);
while(BufferListItem != NULL)
{
- ALbuffer *buffer;
+ const ALbuffer *buffer;
if((buffer=BufferListItem->buffer) != NULL)
{
if(buffer->FmtChannels == FmtMono)