aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/null.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-02-26 04:58:02 -0800
committerChris Robinson <[email protected]>2020-02-26 04:58:02 -0800
commiteb49290dabd5ca317337663ff7e8b25a311b83a8 (patch)
treed5d9c6bb50bc6b5dc1804ee88ca497c8b50111ac /alc/backends/null.cpp
parent4555b74bd75614418032bd46836b0335229d48d4 (diff)
Remove unnecessary locks now that the mixer doesn't require one
Diffstat (limited to 'alc/backends/null.cpp')
-rw-r--r--alc/backends/null.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/alc/backends/null.cpp b/alc/backends/null.cpp
index 9f069be8..4cdebf57 100644
--- a/alc/backends/null.cpp
+++ b/alc/backends/null.cpp
@@ -86,7 +86,6 @@ int NullBackend::mixerProc()
}
while(avail-done >= mDevice->UpdateSize)
{
- std::lock_guard<NullBackend> _{*this};
aluMixData(mDevice, nullptr, mDevice->UpdateSize, 0u);
done += mDevice->UpdateSize;
}