diff options
author | Chris Robinson <[email protected]> | 2018-10-31 13:20:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-31 13:21:05 -0700 |
commit | 0e7986eaa826401b5ef80b033583eb9f24dbf813 (patch) | |
tree | 16e12ab2cfca1d50889cae272096770485765310 /Alc | |
parent | 9dba90fa207cc5323c3f687bbb34d4adc3a0e3f6 (diff) |
Move some extern inline declarations to C
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1566,6 +1566,14 @@ void SetDefaultChannelOrder(ALCdevice *device) extern inline ALint GetChannelIndex(const enum Channel names[MAX_OUTPUT_CHANNELS], enum Channel chan); extern inline ALint GetChannelIdxByName(const RealMixParams *real, enum Channel chan); +/* NOTE: These shouldn't really be here, but C++ (alBuffer.cpp) won't turn + * these extern inline declarations into callable functions. + */ +extern inline void LockBufferList(ALCdevice *device); +extern inline void UnlockBufferList(ALCdevice *device); +extern inline ALsizei FrameSizeFromUserFmt(enum UserFmtChannels chans, enum UserFmtType type); +extern inline ALsizei FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type); + /* ALCcontext_DeferUpdates * |