diff options
Diffstat (limited to 'Alc')
-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; |