From 1b3100ab9ac24a345b16a03fbad2c3cc2167ce79 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 5 Mar 2017 22:47:29 -0800 Subject: Remove an unused function --- OpenAL32/Include/alSource.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 52fe731e..c33d6d1a 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -228,12 +228,6 @@ void UpdateAllSourceProps(ALCcontext *context); ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state); ALboolean ApplyOffset(ALsource *Source, ALvoice *voice); -inline ALboolean IsPlayingOrPaused(const ALsource *source) -{ - ALenum state = ATOMIC_LOAD(&source->state, almemory_order_relaxed); - return state == AL_PLAYING || state == AL_PAUSED; -} - ALvoid ReleaseALSources(ALCcontext *Context); -- cgit v1.2.3