From 9f5c9a2260849240bd680b8fdf533acdef7f9de1 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 30 Dec 2018 21:38:42 -0800 Subject: Rename BackendLock to StateLock --- Alc/backends/sndio.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Alc/backends/sndio.cpp') 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; } -- cgit v1.2.3