From b32ab3439983b2c952e29e314d0ef0fc534b75f2 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 9 Nov 2023 18:28:53 +0100 Subject: Reset logging thread ID when starting a new stream to allow debugging comfortably --- src/cubeb_aaudio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp index 5dc78e0..ece7af2 100644 --- a/src/cubeb_aaudio.cpp +++ b/src/cubeb_aaudio.cpp @@ -1057,6 +1057,8 @@ aaudio_stream_init_impl(cubeb_stream * stm, lock_guard & lock) { assert(stm->state.load() == stream_state::INIT); + cubeb_async_log_reset_threads(); + aaudio_result_t res; AAudioStreamBuilder * sb; res = WRAP(AAudio_createStreamBuilder)(&sb); -- cgit v1.2.3