diff options
author | Chris Robinson <[email protected]> | 2023-11-15 00:52:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-11-15 00:52:57 -0800 |
commit | fe5b3f4fed727b6cf0e98a3454070a53ffcb2ee6 (patch) | |
tree | 784ac3793ef94cff7b4f1ab21f51f68b0e606dec /al | |
parent | b5f5622de373ebb3dac9a1b0ce15a12d84e03b19 (diff) |
Support 32-bit int sample storage
Diffstat (limited to 'al')
-rw-r--r-- | al/buffer.cpp | 1 |
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); |