diff options
author | Chris Robinson <[email protected]> | 2020-02-26 04:58:02 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-02-26 04:58:02 -0800 |
commit | eb49290dabd5ca317337663ff7e8b25a311b83a8 (patch) | |
tree | d5d9c6bb50bc6b5dc1804ee88ca497c8b50111ac /alc/backends/wave.cpp | |
parent | 4555b74bd75614418032bd46836b0335229d48d4 (diff) |
Remove unnecessary locks now that the mixer doesn't require one
Diffstat (limited to 'alc/backends/wave.cpp')
-rw-r--r-- | alc/backends/wave.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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<WaveBackend> _{*this}; - aluMixData(mDevice, mBuffer.data(), mDevice->UpdateSize, frameStep); - } + aluMixData(mDevice, mBuffer.data(), mDevice->UpdateSize, frameStep); done += mDevice->UpdateSize; if(!IS_LITTLE_ENDIAN) |