diff options
author | Chris Robinson <[email protected]> | 2012-04-28 01:32:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-28 01:32:52 -0700 |
commit | 0a193c564585bb9080bc4fd905450141844e6eeb (patch) | |
tree | b1c60ff5a3619cee27e121ed89abb051366fe822 /Alc/mixer.c | |
parent | 2450ee1723daddd8f0977f2589b45e126b1ae62a (diff) |
Move the direct and send params into separate different types
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index c169f5c8..e2e80054 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -336,7 +336,7 @@ static void MixSend_##sampler(ALsource *Source, ALuint sendidx, \ \ increment = Source->Params.Step; \ \ - Slot = Source->Params.Send[sendidx].Slot; \ + Slot = Source->Params.Slot[sendidx]; \ WetBuffer = Slot->WetBuffer; \ WetClickRemoval = Slot->ClickRemoval; \ WetPendingClicks = Slot->PendingClicks; \ @@ -719,7 +719,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) OutPos, SamplesToDo, BufferSize); for(i = 0;i < Device->NumAuxSends;i++) { - if(!Source->Params.Send[i].Slot) + if(!Source->Params.Slot[i]) continue; Source->Params.WetMix(Source, i, SrcData, DataPosFrac, OutPos, SamplesToDo, BufferSize); |