aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAndreas Pehrson <[email protected]>2024-06-18 10:40:41 +0200
committerAndreas Pehrson <[email protected]>2024-07-04 22:41:26 +0200
commit4bae2267f8a7a55c06d0fe2fa63a9142ba326d15 (patch)
tree9fea3b64070e52a9e280344b635c15b58e628ba6 /src
parent4f72bb725ed244baa9cdf540fb3339de576069c4 (diff)
downloadcubeb-aaudio-input-processing.tar.gz
cubeb-aaudio-input-processing.zip
Don't print cubeb result codes as if they're from AAudioaaudio-input-processing
Diffstat (limited to 'src')
-rw-r--r--src/cubeb_aaudio.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp
index 6c0c3af..e00fd19 100644
--- a/src/cubeb_aaudio.cpp
+++ b/src/cubeb_aaudio.cpp
@@ -1109,8 +1109,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard<mutex> & lock)
if (err != CUBEB_OK) {
aaudio_stream_destroy_locked(stm, lock);
- LOG("aaudio_stream_init_impl error while reiniting: %s",
- WRAP(AAudio_convertResultToText)(err));
+ LOG("aaudio_stream_init_impl error while reiniting");
stm->state.store(stream_state::ERROR);
return err;
}
@@ -1119,8 +1118,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard<mutex> & lock)
err = aaudio_stream_start_locked(stm, lock);
if (err != CUBEB_OK) {
aaudio_stream_destroy_locked(stm, lock);
- LOG("aaudio_stream_start error while reiniting: %s",
- WRAP(AAudio_convertResultToText)(err));
+ LOG("aaudio_stream_start error while reiniting");
stm->state.store(stream_state::ERROR);
return err;
}