diff options
author | Chris Robinson <[email protected]> | 2014-05-23 10:00:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-23 10:00:58 -0700 |
commit | 5ef5d218c40f36c20f1971d2fc6af101ed00d756 (patch) | |
tree | 483aefa7f02ab54dd6e82b635d7df56dada172bf /OpenAL32/Include/alBuffer.h | |
parent | 3fc979174764e5c2fdc17080944c090f5be350c7 (diff) |
Mark a few more functions as const
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 10359d9d..12a682f4 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -34,8 +34,8 @@ enum UserFmtChannels { UserFmtX71 = AL_7POINT1_SOFT, /* (WFX order) */ }; -ALuint BytesFromUserFmt(enum UserFmtType type); -ALuint ChannelsFromUserFmt(enum UserFmtChannels chans); +ALuint BytesFromUserFmt(enum UserFmtType type) DECL_CONST; +ALuint ChannelsFromUserFmt(enum UserFmtChannels chans) DECL_CONST; inline ALuint FrameSizeFromUserFmt(enum UserFmtChannels chans, enum UserFmtType type) { return ChannelsFromUserFmt(chans) * BytesFromUserFmt(type); @@ -59,8 +59,8 @@ enum FmtChannels { }; #define MAX_INPUT_CHANNELS (8) -ALuint BytesFromFmt(enum FmtType type); -ALuint ChannelsFromFmt(enum FmtChannels chans); +ALuint BytesFromFmt(enum FmtType type) DECL_CONST; +ALuint ChannelsFromFmt(enum FmtChannels chans) DECL_CONST; inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type) { return ChannelsFromFmt(chans) * BytesFromFmt(type); |