aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-14 11:21:52 -0700
committerChris Robinson <[email protected]>2012-10-14 11:21:52 -0700
commita852669dcebf7ff80a0698ca8afe6c8400480202 (patch)
treea190d8cb692f7e21e29b30283b7709b0cd957cbe /Alc/mixer_sse.c
parent3240894cd5ee4d3bae6798b6d480ef2dfacc403a (diff)
Store the output buffers in the DirectParams struct
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r--Alc/mixer_sse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index f1d51cc4..6ce72cb4 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -137,12 +137,13 @@ void MixDirect_SSE(ALCdevice *Device, DirectParams *params,
const ALfloat *RESTRICT data, ALuint srcchan,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
- ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = Device->DryBuffer;
- ALfloat *RESTRICT ClickRemoval = Device->ClickRemoval;
- ALfloat *RESTRICT PendingClicks = Device->PendingClicks;
+ ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer;
+ ALfloat *RESTRICT ClickRemoval = params->ClickRemoval;
+ ALfloat *RESTRICT PendingClicks = params->PendingClicks;
ALfloat DrySend;
ALuint pos;
ALuint c;
+ (void)Device;
for(c = 0;c < MaxChannels;c++)
{