aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-30 13:45:53 -0700
committerChris Robinson <[email protected]>2023-05-30 13:45:53 -0700
commit2e75909ce90027267775d53e997d4936d6ef31a5 (patch)
tree9f6888f751381f0f91844a036605ce528f28c6f5
parentcd781b1511d437816aac65f89646bd80dbf7c040 (diff)
Don't throw when failing to stop Oboe capture
-rw-r--r--alc/backends/oboe.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp
index a0d806c8..cc44b867 100644
--- a/alc/backends/oboe.cpp
+++ b/alc/backends/oboe.cpp
@@ -323,8 +323,7 @@ void OboeCapture::stop()
{
const oboe::Result result{mStream->stop()};
if(result != oboe::Result::OK)
- throw al::backend_exception{al::backend_error::DeviceError, "Failed to stop stream: %s",
- oboe::convertToText(result)};
+ ERR("Failed to stop stream: %s\n", oboe::convertToText(result));
}
uint OboeCapture::availableSamples()