summaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-18 10:24:07 -0700
committerChris Robinson <[email protected]>2014-05-18 10:24:07 -0700
commitc9083d04fabb2cfc0622a8ec36f892355a025df5 (patch)
treebd7b17dcd9d5feb693676a56e78b976d5378c27c /Alc/mixer.c
parent5a1abf69189463312787921f5a3cf5fd35bf65c2 (diff)
Don't pass the DirectParams to the dry-path mixer
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index e1be5fd9..e5ee4a45 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -351,8 +351,9 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo)
SrcData, ResampledData, DstBufferSize,
directparms->Filters[chan]);
if(!src->IsHrtf)
- src->Dry.Mix(directparms, directparms->OutBuffer, SrcData,
- maxu(directparms->Counter, OutPos) - OutPos, chan,
+ src->Dry.Mix(directparms->OutBuffer, SrcData,
+ &directparms->Mix.Gains[chan],
+ maxu(directparms->Counter, OutPos) - OutPos,
OutPos, DstBufferSize);
else
src->Dry.HrtfMix(directparms->OutBuffer, SrcData,