diff options
author | Chris Robinson <[email protected]> | 2014-05-18 10:35:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-18 10:35:11 -0700 |
commit | 9317ec59b99af1b598de1c302470113a77da966d (patch) | |
tree | 0d88df602051872f4741e68457f340eecfbb28f4 /Alc/mixer.c | |
parent | c9083d04fabb2cfc0622a8ec36f892355a025df5 (diff) |
Don't pass the SendParams to the wet-path mixer
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 */ |