aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-14 04:16:49 -0700
committerChris Robinson <[email protected]>2012-09-14 04:16:49 -0700
commita20341ac2abbc9fab85c83a9c1b4ec1da9c2708c (patch)
treed182dd241c06ded14f0f667cd8b7eed9d8aa480e /Alc/mixer.c
parent7635afcb520747b74b7c65bb522016c2c7c2da4d (diff)
Ensure the ResampledBuffer is aligned
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 1ae51b6f..3ef41aa9 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -337,7 +337,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
{
DirectParams *directparms = &Source->Params.Direct;
ALIGN(16) ALfloat FilteredData[BUFFERSIZE];
- ALfloat ResampledData[BUFFERSIZE];
+ ALIGN(16) ALfloat ResampledData[BUFFERSIZE];
Source->Params.Resample(SrcData+i, DataPosFrac, increment,
NumChannels, ResampledData, BufferSize);