diff options
author | Chris Robinson <[email protected]> | 2013-11-04 13:51:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-04 13:51:19 -0800 |
commit | 5874e387a8aafd6218e1517b47697ae8aced7d49 (patch) | |
tree | c11a5f199abd07af479052f9f20c25ac3a3fe4fe /OpenAL32/Include/alBuffer.h | |
parent | d3c70e63b4a42c92f8229f3c9e7f21a2048b6b9d (diff) |
Move some inline methods to their appropriate headers
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 547768d6..d22b3b9b 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -92,6 +92,11 @@ typedef struct ALbuffer { ALuint id; } ALbuffer; +inline struct ALbuffer *LookupBuffer(ALCdevice *device, ALuint id) +{ return (struct ALbuffer*)LookupUIntMapKey(&device->BufferMap, id); } +inline struct ALbuffer *RemoveBuffer(ALCdevice *device, ALuint id) +{ return (struct ALbuffer*)RemoveUIntMapKey(&device->BufferMap, id); } + ALvoid ReleaseALBuffers(ALCdevice *device); #ifdef __cplusplus |