aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_inc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-08 22:32:30 -0700
committerChris Robinson <[email protected]>2012-09-08 22:32:30 -0700
commit2bf1979d4a805e661bdd43258a5020c96cda1f80 (patch)
tree9ee8042eaa1bb7586b622a27c873a17b98d1ef68 /Alc/mixer_inc.c
parent89cab3cd393a8fd9b3fd9e33a19103108258e938 (diff)
Move the target effect slot to the SendParams struct
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r--Alc/mixer_inc.c5
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;