From 5874e387a8aafd6218e1517b47697ae8aced7d49 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Nov 2013 13:51:19 -0800 Subject: Move some inline methods to their appropriate headers --- OpenAL32/Include/alSource.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include/alSource.h') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index f547b188..31a0d229 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -176,6 +176,11 @@ typedef struct ALsource } ALsource; #define ALsource_Update(s,a) ((s)->Update(s,a)) +inline struct ALsource *LookupSource(ALCcontext *context, ALuint id) +{ return (struct ALsource*)LookupUIntMapKey(&context->SourceMap, id); } +inline struct ALsource *RemoveSource(ALCcontext *context, ALuint id) +{ return (struct ALsource*)RemoveUIntMapKey(&context->SourceMap, id); } + ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state); ALboolean ApplyOffset(ALsource *Source); -- cgit v1.2.3