diff options
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r-- | Alc/mixer_sse.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index 88d2c1ee..792fead6 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -132,17 +132,14 @@ void MixDirect_SSE(ALsource *Source, ALCdevice *Device, DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) { - ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE]; - ALfloat *RESTRICT ClickRemoval, *RESTRICT PendingClicks; + ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = Device->DryBuffer; + ALfloat *RESTRICT ClickRemoval = Device->ClickRemoval; + ALfloat *RESTRICT PendingClicks = Device->PendingClicks; ALfloat DrySend[MaxChannels]; ALuint pos; ALuint c; (void)Source; - DryBuffer = Device->DryBuffer; - ClickRemoval = Device->ClickRemoval; - PendingClicks = Device->PendingClicks; - for(c = 0;c < MaxChannels;c++) DrySend[c] = params->Gains[srcchan][c]; |