diff options
author | Chris Robinson <[email protected]> | 2016-08-04 20:42:25 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-04 20:42:25 -0700 |
commit | 232293792dad120da91f62b92ea270a58e065a91 (patch) | |
tree | 9cbe45f4f74878f98cb9a0d78f3208652c1467d6 | |
parent | 48b954160ec5bffab04d072cdfd0685ca521c407 (diff) |
Constify some variables
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |