diff options
author | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-04 12:12:31 -0800 |
commit | 551f893ae910c2b1b72c0a22aeab1ede75d3e5ed (patch) | |
tree | 1f41eaee75fdfd0d9cc1e0bfff8bce3bd7039aba /OpenAL32/alBuffer.c | |
parent | 692ab1085dd75c0ac696f3effe61bc9223181547 (diff) |
Use C99 inline semantics
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index fa02582a..51e9cc7c 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -32,6 +32,9 @@ #include "alThunk.h" +extern inline ALuint FrameSizeFromUserFmt(enum UserFmtChannels chans, enum UserFmtType type); +extern inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type); + static ALenum LoadData(ALbuffer *ALBuf, ALuint freq, ALenum NewFormat, ALsizei frames, enum UserFmtChannels chans, enum UserFmtType type, const ALvoid *data, ALboolean storesrc); static void ConvertData(ALvoid *dst, enum UserFmtType dstType, const ALvoid *src, enum UserFmtType srcType, ALsizei numchans, ALsizei len); static ALboolean IsValidType(ALenum type); |