From eb49290dabd5ca317337663ff7e8b25a311b83a8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 26 Feb 2020 04:58:02 -0800 Subject: Remove unnecessary locks now that the mixer doesn't require one --- alc/backends/wave.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'alc/backends/wave.cpp') diff --git a/alc/backends/wave.cpp b/alc/backends/wave.cpp index 4f357970..f4fa2b70 100644 --- a/alc/backends/wave.cpp +++ b/alc/backends/wave.cpp @@ -146,10 +146,7 @@ int WaveBackend::mixerProc() } while(avail-done >= mDevice->UpdateSize) { - { - std::lock_guard _{*this}; - aluMixData(mDevice, mBuffer.data(), mDevice->UpdateSize, frameStep); - } + aluMixData(mDevice, mBuffer.data(), mDevice->UpdateSize, frameStep); done += mDevice->UpdateSize; if(!IS_LITTLE_ENDIAN) -- cgit v1.2.3