diff options
author | Chris Robinson <[email protected]> | 2011-09-18 19:06:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-18 19:06:19 -0700 |
commit | b615c7d0a2928ca07a3aafdd4013be2e4b951135 (patch) | |
tree | e025801f9371e75c97fbd5198edb9a24fc1aec29 /OpenAL32/Include/alBuffer.h | |
parent | 7e06a10f73d5955de7bba35da09e5941cee56dc8 (diff) |
Use arrays instead of large switches to decompose formats
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 6ab25615..9393a6e6 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -32,8 +32,6 @@ enum UserFmtChannels { UserFmtX71 = AL_7POINT1 /* (WFX order) */ }; -ALboolean DecomposeUserFormat(ALenum format, enum UserFmtChannels *chans, - enum UserFmtType *type); ALuint BytesFromUserFmt(enum UserFmtType type); ALuint ChannelsFromUserFmt(enum UserFmtChannels chans); static __inline ALuint FrameSizeFromUserFmt(enum UserFmtChannels chans, @@ -59,7 +57,6 @@ enum FmtChannels { FmtX71 = UserFmtX71, }; -ALboolean DecomposeFormat(ALenum format, enum FmtChannels *chans, enum FmtType *type); ALuint BytesFromFmt(enum FmtType type); ALuint ChannelsFromFmt(enum FmtChannels chans); static __inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type) |