diff options
author | Paul Adenot <[email protected]> | 2023-11-09 18:28:53 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-11-10 11:31:35 +0100 |
commit | b32ab3439983b2c952e29e314d0ef0fc534b75f2 (patch) | |
tree | 7870b4b2949699f28f4fa250d4b18f3c64340bba | |
parent | 2dedf7b19157a82d76b61ae22ebdcf4fd045787b (diff) | |
download | cubeb-b32ab3439983b2c952e29e314d0ef0fc534b75f2.tar.gz cubeb-b32ab3439983b2c952e29e314d0ef0fc534b75f2.zip |
Reset logging thread ID when starting a new stream to allow debugging comfortably
-rw-r--r-- | src/cubeb_aaudio.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<mutex> & lock) { assert(stm->state.load() == stream_state::INIT); + cubeb_async_log_reset_threads(); + aaudio_result_t res; AAudioStreamBuilder * sb; res = WRAP(AAudio_createStreamBuilder)(&sb); |