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/sndio.cpp | |
parent | 3df1d185f8bcf8d470249594a15d0e781a705ca2 (diff) |
Rename BackendLock to StateLock
Diffstat (limited to 'Alc/backends/sndio.cpp')
-rw-r--r-- | Alc/backends/sndio.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/backends/sndio.cpp b/Alc/backends/sndio.cpp index 5d74dd5a..c75eebee 100644 --- a/Alc/backends/sndio.cpp +++ b/Alc/backends/sndio.cpp @@ -94,9 +94,7 @@ int SndioPlayback::mixerProc() if(wrote == 0) { ERR("sio_write failed\n"); - lock(); aluHandleDisconnect(mDevice, "Failed to write playback samples"); - unlock(); break; } @@ -308,9 +306,7 @@ int SndioCapture::recordProc() size_t got{sio_read(mSndHandle, data.first.buf, minz(todo-total, data.first.len))}; if(!got) { - lock(); aluHandleDisconnect(mDevice, "Failed to read capture samples"); - unlock(); break; } |