aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 8be22e66..44361979 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -437,6 +437,7 @@ static void CalcNonAttnSourceParams(ALvoice *voice, const struct ALsourceProps *
voice->Send[i].OutChannels = SendSlots[i]->NumChannels;
}
}
+ voice->Looping = ATOMIC_LOAD(&props->Looping, almemory_order_relaxed);
/* Calculate the stepping value */
Pitch *= (ALfloat)ALBuffer->Frequency / Frequency;
@@ -905,6 +906,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALsourceProps *pro
voice->Send[i].OutChannels = SendSlots[i]->NumChannels;
}
}
+ voice->Looping = ATOMIC_LOAD(&props->Looping, almemory_order_relaxed);
/* Transform source to listener space (convert to head relative) */
if(ATOMIC_LOAD(&props->HeadRelative, almemory_order_relaxed) == AL_FALSE)