aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-05 22:47:29 -0800
committerChris Robinson <[email protected]>2017-03-07 00:19:40 -0800
commit1b3100ab9ac24a345b16a03fbad2c3cc2167ce79 (patch)
tree7ff5e6ddf05d8c42743d7fd3eff54d36c720ec0c
parent0b591844b189c4e54b42d57047c5a353e990562f (diff)
Remove an unused function
-rw-r--r--OpenAL32/Include/alSource.h6
-rw-r--r--OpenAL32/alSource.c1
2 files changed, 0 insertions, 7 deletions
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);
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index df0e7136..799ad855 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -46,7 +46,6 @@ extern inline void LockSourcesWrite(ALCcontext *context);
extern inline void UnlockSourcesWrite(ALCcontext *context);
extern inline struct ALsource *LookupSource(ALCcontext *context, ALuint id);
extern inline struct ALsource *RemoveSource(ALCcontext *context, ALuint id);
-extern inline ALboolean IsPlayingOrPaused(const ALsource *source);
static void InitSourceParams(ALsource *Source, ALsizei num_sends);
static void DeinitSource(ALsource *source, ALsizei num_sends);