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_inc.c | |
parent | 89cab3cd393a8fd9b3fd9e33a19103108258e938 (diff) |
Move the target effect slot to the SendParams struct
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r-- | Alc/mixer_inc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c index 6c10a660..ff12026b 100644 --- a/Alc/mixer_inc.c +++ b/Alc/mixer_inc.c @@ -192,8 +192,7 @@ void MixDirect(ALsource *Source, ALCdevice *Device, DirectParams *params, } -void MixSend(ALsource *Source, ALuint sendidx, SendParams *params, - const ALfloat *RESTRICT data, ALuint srcchan, +void MixSend(SendParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) { ALeffectslot *Slot; @@ -205,7 +204,7 @@ void MixSend(ALsource *Source, ALuint sendidx, SendParams *params, ALuint pos; ALfloat value; - Slot = Source->Params.Slot[sendidx]; + Slot = params->Slot; WetBuffer = Slot->WetBuffer; WetClickRemoval = Slot->ClickRemoval; WetPendingClicks = Slot->PendingClicks; |