aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-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)