diff options
author | Chris Robinson <[email protected]> | 2018-12-30 21:38:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-30 21:38:42 -0800 |
commit | 9f5c9a2260849240bd680b8fdf533acdef7f9de1 (patch) | |
tree | d7e1c5873e323e7edcd96c1a2a037ea18063501c /Alc/backends/opensl.cpp | |
parent | 3df1d185f8bcf8d470249594a15d0e781a705ca2 (diff) |
Rename BackendLock to StateLock
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; } |