diff options
author | Chris Robinson <[email protected]> | 2017-03-31 08:15:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-31 08:15:20 -0700 |
commit | 355a8898cf4886e4193d43ffa0b7204c1eef7d93 (patch) | |
tree | d12cfd80ce6b25008bccdf045516de5d0e5c2077 /OpenAL32/alBuffer.c | |
parent | ac8b4aa5f66db68609459a9444c2a7083b2e8f28 (diff) |
Remove the (u)byte3 sample formats
They're not accessible since the removal of the buffer_samples extension, and
were kind of clunky to work with as 24-bit packed values.
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 45a8cb5b..e45b8d08 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -183,8 +183,6 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoi case UserFmtInt: case UserFmtUInt: - case UserFmtByte3: - case UserFmtUByte3: case UserFmtDouble: framesize = FrameSizeFromUserFmt(srcchannels, srctype) * align; if((size%framesize) != 0) @@ -1086,8 +1084,6 @@ ALsizei BytesFromUserFmt(enum UserFmtType type) case UserFmtUInt: return sizeof(ALuint); case UserFmtFloat: return sizeof(ALfloat); case UserFmtDouble: return sizeof(ALdouble); - case UserFmtByte3: return sizeof(ALbyte[3]); - case UserFmtUByte3: return sizeof(ALubyte[3]); case UserFmtMulaw: return sizeof(ALubyte); case UserFmtAlaw: return sizeof(ALubyte); case UserFmtIMA4: break; /* not handled here */ |