diff options
author | Paul Adenot <[email protected]> | 2023-11-21 10:29:35 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-11-21 11:08:34 +0100 |
commit | 33531e337aa1db72005d20a131ba9a8f2ce821cc (patch) | |
tree | ff52c3bca3bc0880448302956cebcc40eda6e9be /test/test_callback_ret.cpp | |
parent | 699c44180eefaad9f71f7d6be374dbf1573594a0 (diff) | |
download | cubeb-33531e337aa1db72005d20a131ba9a8f2ce821cc.tar.gz cubeb-33531e337aa1db72005d20a131ba9a8f2ce821cc.zip |
Allow not being able to get the minimum latency in test_callback_ret.cpp and test_logging.cpp, as it's not essential for the test
Diffstat (limited to 'test/test_callback_ret.cpp')
-rw-r--r-- | test/test_callback_ret.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_callback_ret.cpp b/test/test_callback_ret.cpp index a9d9a40..0737b60 100644 --- a/test/test_callback_ret.cpp +++ b/test/test_callback_ret.cpp @@ -181,7 +181,10 @@ run_test_callback(test_direction direction, cubeb_data_callback data_cb, output_params = input_params; r = cubeb_get_min_latency(ctx, &input_params, &latency_frames); - ASSERT_EQ(r, CUBEB_OK) << "Could not get minimal latency"; + if (r != CUBEB_OK) { + // not fatal + latency_frames = 1024; + } switch (direction) { case INPUT_ONLY: |