aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
committerChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
commit80ea801204cec06b26ac8823747ad0981165822c (patch)
tree4ba696fe3fb56d042d779a994051112380e2229e /Alc/backends/dsound.c
parent191e8172f0ed00f423f7806b3b52b95d1dab53cc (diff)
Add a macro for GCC to ensure stack alignment
Diffstat (limited to 'Alc/backends/dsound.c')
-rw-r--r--Alc/backends/dsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c
index 0c4f816b..6b108fba 100644
--- a/Alc/backends/dsound.c
+++ b/Alc/backends/dsound.c
@@ -224,7 +224,7 @@ static BOOL CALLBACK DSoundEnumCaptureDevices(LPGUID guid, LPCSTR desc, LPCSTR U
}
-static ALuint DSoundPlaybackProc(ALvoid *ptr)
+FORCE_ALIGN static ALuint DSoundPlaybackProc(ALvoid *ptr)
{
ALCdevice *Device = (ALCdevice*)ptr;
DSoundPlaybackData *data = (DSoundPlaybackData*)Device->ExtraData;