diff options
-rw-r--r-- | alc/backends/oboe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp index 131d8b2d..d84cea8e 100644 --- a/alc/backends/oboe.cpp +++ b/alc/backends/oboe.cpp @@ -321,9 +321,9 @@ void OboeCapture::start() void OboeCapture::stop() { - const oboe::Result result{mStream->pause()}; + const oboe::Result result{mStream->stop()}; if(result != oboe::Result::OK) - throw al::backend_exception{al::backend_error::DeviceError, "Failed to pause stream: %s", + throw al::backend_exception{al::backend_error::DeviceError, "Failed to stop stream: %s", oboe::convertToText(result)}; } |