From a20341ac2abbc9fab85c83a9c1b4ec1da9c2708c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 14 Sep 2012 04:16:49 -0700 Subject: [PATCH] Ensure the ResampledBuffer is aligned --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT