diff options
author | Chris Robinson <[email protected]> | 2012-09-08 22:32:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-08 22:32:30 -0700 |
commit | 2bf1979d4a805e661bdd43258a5020c96cda1f80 (patch) | |
tree | 9ee8042eaa1bb7586b622a27c873a17b98d1ef68 /Alc/mixer.c | |
parent | 89cab3cd393a8fd9b3fd9e33a19103108258e938 (diff) |
Move the target effect slot to the SendParams struct
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index d6686402..e6cab3be 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -437,11 +437,10 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) BufferSize); for(j = 0;j < Device->NumAuxSends;j++) { - if(!Source->Params.Slot[j]) + if(!Source->Params.Send[j].Slot) continue; - Source->Params.WetMix(Source, j, &Source->Params.Send[j], - ResampledData, i, OutPos, SamplesToDo, - BufferSize); + Source->Params.WetMix(&Source->Params.Send[j], ResampledData, i, + OutPos, SamplesToDo, BufferSize); } } for(i = 0;i < BufferSize;i++) |