aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-01 01:36:03 -0800
committerChris Robinson <[email protected]>2018-02-01 01:36:03 -0800
commitbcdc399029ee2dad87ec3dc608eaa44c9dd9614b (patch)
tree648df12a5b94864f9f3dffef9b3ba93a8e9a89c5 /Alc/ALu.c
parent8652ae046b9d32a2a0bf936c3655f5f23b33ccba (diff)
Send buffer completed events when enabled
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 d190a1be..8d2e5727 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, device, SamplesToDo))
+ if(!MixSource(voice, source->id, ctx, SamplesToDo))
{
ATOMIC_STORE(&voice->Source, NULL, almemory_order_relaxed);
ATOMIC_STORE(&voice->Playing, false, almemory_order_release);