aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-16 18:07:59 -0800
committerChris Robinson <[email protected]>2018-01-16 18:07:59 -0800
commit248832b26680de4ce48bf17076287a07dbd36ff7 (patch)
tree883a6685549357f5cd5b6490bdb9bf7c03985cf1 /Alc/ALu.c
parentbf8c889631f48f9112987eb0f26e7c6eaa2429aa (diff)
Use a voice flag to indicate it being static
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 909c689a..d190a1be 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1693,7 +1693,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples)
if(source && ATOMIC_LOAD(&voice->Playing, almemory_order_relaxed) &&
voice->Step > 0)
{
- if(!MixSource(voice, source, device, SamplesToDo))
+ if(!MixSource(voice, device, SamplesToDo))
{
ATOMIC_STORE(&voice->Source, NULL, almemory_order_relaxed);
ATOMIC_STORE(&voice->Playing, false, almemory_order_release);