aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ae09ccaa..602bd487 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -147,6 +147,10 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
}
Channels = ALBuffer->FmtChannels;
+
+ ALSource->Params.DoMix = ((Device->Flags&DEVICE_USE_HRTF) ?
+ SelectHrtfMixer(ALBuffer, (ALSource->Params.Step==FRACTIONONE)) :
+ SelectMixer(ALBuffer, (ALSource->Params.Step==FRACTIONONE)));
break;
}
BufferListItem = BufferListItem->next;
@@ -654,6 +658,10 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
if(ALSource->Params.Step == 0)
ALSource->Params.Step = 1;
}
+
+ ALSource->Params.DoMix = ((Device->Flags&DEVICE_USE_HRTF) ?
+ SelectHrtfMixer(ALBuffer, (ALSource->Params.Step==FRACTIONONE)) :
+ SelectMixer(ALBuffer, (ALSource->Params.Step==FRACTIONONE)));
break;
}
BufferListItem = BufferListItem->next;