aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-11-15 00:52:57 -0800
committerChris Robinson <[email protected]>2023-11-15 00:52:57 -0800
commitfe5b3f4fed727b6cf0e98a3454070a53ffcb2ee6 (patch)
tree784ac3793ef94cff7b4f1ab21f51f68b0e606dec /al
parentb5f5622de373ebb3dac9a1b0ce15a12d84e03b19 (diff)
Support 32-bit int sample storage
Diffstat (limited to 'al')
-rw-r--r--al/buffer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index 8ba874e4..82068b62 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -464,6 +464,7 @@ void PrepareUserPtr(ALCcontext *context, ALbuffer *ALBuf, ALsizei freq,
{
case FmtUByte: return alignof(ALubyte);
case FmtShort: return alignof(ALshort);
+ case FmtInt: return alignof(ALint);
case FmtFloat: return alignof(ALfloat);
case FmtDouble: return alignof(ALdouble);
case FmtMulaw: return alignof(ALubyte);