aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/portaudio.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/portaudio.cpp
parent4555b74bd75614418032bd46836b0335229d48d4 (diff)
Remove unnecessary locks now that the mixer doesn't require one
Diffstat (limited to 'alc/backends/portaudio.cpp')
-rw-r--r--alc/backends/portaudio.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/alc/backends/portaudio.cpp b/alc/backends/portaudio.cpp
index 0f5d6d6d..96eb1af4 100644
--- a/alc/backends/portaudio.cpp
+++ b/alc/backends/portaudio.cpp
@@ -109,7 +109,6 @@ PortPlayback::~PortPlayback()
int PortPlayback::writeCallback(const void*, void *outputBuffer, unsigned long framesPerBuffer,
const PaStreamCallbackTimeInfo*, const PaStreamCallbackFlags) noexcept
{
- std::lock_guard<PortPlayback> _{*this};
aluMixData(mDevice, outputBuffer, static_cast<ALuint>(framesPerBuffer),
mDevice->channelsFromFmt());
return 0;