aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index b9479905..d45e5d9c 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -224,7 +224,7 @@ void UpdateAllSourceProps(ALCcontext *context);
ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state);
ALboolean ApplyOffset(ALsource *Source);
-inline ALboolean IsPlayingOrPaused(ALsource *source)
+inline ALboolean IsPlayingOrPaused(const ALsource *source)
{
ALenum state = ATOMIC_LOAD_SEQ(&source->state);
return state == AL_PLAYING || state == AL_PAUSED;