From 2566793347bd29f390f814fd67634b3063cca5f1 Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Tue, 18 Jun 2024 10:40:41 +0200 Subject: Don't print cubeb result codes as if they're from AAudio --- src/cubeb_aaudio.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp index 4a57266..7711d15 100644 --- a/src/cubeb_aaudio.cpp +++ b/src/cubeb_aaudio.cpp @@ -912,8 +912,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard & 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; } @@ -922,8 +921,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard & 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; } -- cgit v1.2.3