diff options
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/al/source.h b/al/source.h index 6572864f..4f4832e5 100644 --- a/al/source.h +++ b/al/source.h @@ -16,6 +16,7 @@ #include "almalloc.h" #include "alnumeric.h" #include "alu.h" +#include "atomic.h" #include "math_defs.h" #include "vector.h" #include "voice.h" @@ -109,7 +110,7 @@ struct ALsource { /** Source Buffer Queue head. */ al::deque<ALbufferQueueItem> mQueue; - std::atomic_flag PropsClean; + al::atomic_invflag mPropsDirty; /* Index into the context's Voices array. Lazily updated, only checked and * reset when looking up the voice. |