diff options
author | Andreas Pehrson <[email protected]> | 2024-06-18 10:40:41 +0200 |
---|---|---|
committer | Andreas Pehrson <[email protected]> | 2024-06-24 11:29:24 +0200 |
commit | 2566793347bd29f390f814fd67634b3063cca5f1 (patch) | |
tree | 5262752d75c7ebce975eda07176716130e21e4c9 | |
parent | d896f3af2a03d1df883c54fca0550edddf7ecbd6 (diff) | |
download | cubeb-2566793347bd29f390f814fd67634b3063cca5f1.tar.gz cubeb-2566793347bd29f390f814fd67634b3063cca5f1.zip |
Don't print cubeb result codes as if they're from AAudio
-rw-r--r-- | src/cubeb_aaudio.cpp | 6 |
1 files 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<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; } @@ -922,8 +921,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; } |