diff options
Diffstat (limited to 'Alc/backends/oss.cpp')
-rw-r--r-- | Alc/backends/oss.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp index c18a1d86..b5640ae3 100644 --- a/Alc/backends/oss.cpp +++ b/Alc/backends/oss.cpp @@ -520,9 +520,7 @@ int OSScapture::recordProc() if(errno == EINTR || errno == EAGAIN) continue; ERR("poll failed: %s\n", strerror(errno)); - lock(); aluHandleDisconnect(mDevice, "Failed to check capture samples: %s", strerror(errno)); - unlock(); break; } else if(sret == 0) @@ -538,10 +536,8 @@ int OSScapture::recordProc() if(amt < 0) { ERR("read failed: %s\n", strerror(errno)); - lock(); aluHandleDisconnect(mDevice, "Failed reading capture samples: %s", strerror(errno)); - unlock(); break; } mRing->writeAdvance(amt/frame_size); |