diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 5 |
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, |