diff options
author | Paul Adenot <[email protected]> | 2022-11-29 19:08:49 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2022-12-02 14:17:18 +0100 |
commit | 7f5589a431b166a3c37bb5d5e0614cf2b1bf6387 (patch) | |
tree | 2c8dafc3e4a3c69259bc457b01e355a006888f8e /CMakeLists.txt | |
parent | 27d2a102b0b75d9e49d43bc1ea516233fb87d778 (diff) | |
download | cubeb-7f5589a431b166a3c37bb5d5e0614cf2b1bf6387.tar.gz cubeb-7f5589a431b166a3c37bb5d5e0614cf2b1bf6387.zip |
Allow dynamic enabling and disabling of the log, add tests for the logging system.
Also clear out the memory used by the async logger when it's shut down.
This relies on the fact that enabling and disabling logging is performed
on the same thread, but I think this is a reasonnable thing to do. We
could assert it though.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae58d4..e7de39f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -399,6 +399,7 @@ if(BUILD_TESTS) add_sanitizers(test_resampler) cubeb_add_test(duplex) + cubeb_add_test(logging) if (USE_WASAPI) cubeb_add_test(overload_callback) |