diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index e5ee4a45..e90bb482 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -374,7 +374,9 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo) DoFilters(&sendparms->LpFilter[chan], &sendparms->HpFilter[chan], SrcData, ResampledData, DstBufferSize, sendparms->Filters[chan]); - src->WetMix(sendparms, SrcData, OutPos, DstBufferSize); + src->WetMix(sendparms->OutBuffer, SrcData, &sendparms->Gain, + maxu(sendparms->Counter, OutPos) - OutPos, + OutPos, DstBufferSize); } } /* Update positions */ |