diff options
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r-- | Alc/backends/opensl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp index 66bc6e8d..766b7675 100644 --- a/Alc/backends/opensl.cpp +++ b/Alc/backends/opensl.cpp @@ -839,9 +839,7 @@ ALCboolean OpenSLCapture::start() if(SL_RESULT_SUCCESS != result) { - lock(); aluHandleDisconnect(mDevice, "Failed to start capture: 0x%08x", result); - unlock(); return ALC_FALSE; } @@ -904,9 +902,7 @@ ALCenum OpenSLCapture::captureSamples(void* buffer, ALCuint samples) if(SL_RESULT_SUCCESS != result) { - lock(); aluHandleDisconnect(mDevice, "Failed to update capture buffer: 0x%08x", result); - unlock(); return ALC_INVALID_DEVICE; } |