From 2d45ec8dc360cbdf9f813db0b8286d8e11a432d9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 26 Nov 2018 22:06:53 -0800 Subject: Use a standard mutex for the remaining locks --- Alc/alc.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Alc') 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; -- cgit v1.2.3