aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-26 21:50:48 -0800
committerChris Robinson <[email protected]>2018-11-26 21:50:48 -0800
commit68eef6abb4f48262ec4d514fb3c77b8d4e9c0bf7 (patch)
tree644a5729c2e548aa61ec384536dcf98ded1a020a /Alc/alcontext.h
parent2e73c2ca929b6cea23195270fe144f9ad3ae5c27 (diff)
Use a standard mutex for the source and effect slot locks
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r--Alc/alcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h
index 0b285bfb..426d06e8 100644
--- a/Alc/alcontext.h
+++ b/Alc/alcontext.h
@@ -66,10 +66,10 @@ struct ALCcontext_struct {
al::vector<SourceSubList> SourceList;
ALuint NumSources{0};
- almtx_t SourceLock;
+ std::mutex SourceLock;
al::vector<ALeffectslotPtr> EffectSlotList;
- almtx_t EffectSlotLock;
+ std::mutex EffectSlotLock;
std::atomic<ALenum> LastError{AL_NO_ERROR};