aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
Diffstat (limited to 'al')
-rw-r--r--al/buffer.cpp4
-rw-r--r--al/source.cpp5
2 files changed, 5 insertions, 4 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index ee506596..93484e7d 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -773,8 +773,8 @@ START_API_FUNC
}
END_API_FUNC
-void AL_APIENTRY alBufferDataStatic(const ALuint buffer, ALenum format, ALvoid *data, ALsizei size,
- ALsizei freq)
+FORCE_ALIGN void AL_APIENTRY alBufferDataStatic(const ALuint buffer, ALenum format, ALvoid *data,
+ ALsizei size, ALsizei freq)
START_API_FUNC
{
ContextRef context{GetContextRef()};
diff --git a/al/source.cpp b/al/source.cpp
index cba33862..bdc7e878 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3492,7 +3492,7 @@ START_API_FUNC
}
END_API_FUNC
-void AL_APIENTRY alSourcePlayAtTimeSOFT(ALuint source, ALint64SOFT start_time)
+FORCE_ALIGN void AL_APIENTRY alSourcePlayAtTimeSOFT(ALuint source, ALint64SOFT start_time)
START_API_FUNC
{
ContextRef context{GetContextRef()};
@@ -3544,7 +3544,8 @@ START_API_FUNC
}
END_API_FUNC
-void AL_APIENTRY alSourcePlayAtTimevSOFT(ALsizei n, const ALuint *sources, ALint64SOFT start_time)
+FORCE_ALIGN void AL_APIENTRY alSourcePlayAtTimevSOFT(ALsizei n, const ALuint *sources,
+ ALint64SOFT start_time)
START_API_FUNC
{
ContextRef context{GetContextRef()};