diff options
author | Chris Robinson <[email protected]> | 2018-11-26 22:06:53 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 22:06:53 -0800 |
commit | 2d45ec8dc360cbdf9f813db0b8286d8e11a432d9 (patch) | |
tree | 4a76d5bada32a13772e70e24ed89b30ce9af6811 /Alc/alc.cpp | |
parent | 68eef6abb4f48262ec4d514fb3c77b8d4e9c0bf7 (diff) |
Use a standard mutex for the remaining locks
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 0bb6fbf6..58b2349f 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -2374,9 +2374,6 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) ALCdevice_struct::ALCdevice_struct(DeviceType type) : Type{type} { - almtx_init(&BufferLock, almtx_plain); - almtx_init(&EffectLock, almtx_plain); - almtx_init(&FilterLock, almtx_plain); } /* ALCdevice_struct::~ALCdevice_struct @@ -2409,10 +2406,6 @@ ALCdevice_struct::~ALCdevice_struct() if(count > 0) WARN(SZFMT " Filter%s not deleted\n", count, (count==1)?"":"s"); - almtx_destroy(&BufferLock); - almtx_destroy(&EffectLock); - almtx_destroy(&FilterLock); - if(HrtfHandle) Hrtf_DecRef(HrtfHandle); HrtfHandle = nullptr; |