aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_duplex.cpp
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2022-12-02 15:32:53 +0100
committerPaul Adenot <[email protected]>2022-12-02 15:40:20 +0100
commitb8765e132de947a391a7e9b3787c4cc682ed82f1 (patch)
tree1c7f53a863ee9f7628f400296dc6fdf4bfe7c98a /test/test_duplex.cpp
parent7f5589a431b166a3c37bb5d5e0614cf2b1bf6387 (diff)
downloadcubeb-b8765e132de947a391a7e9b3787c4cc682ed82f1.tar.gz
cubeb-b8765e132de947a391a7e9b3787c4cc682ed82f1.zip
Inline values for stream params in test_logging.cpp, undef defines in test to avoid breaking unified builds when building tests in Firefox.
Diffstat (limited to 'test/test_duplex.cpp')
-rw-r--r--test/test_duplex.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_duplex.cpp b/test/test_duplex.cpp
index ff0b397..8cc93c3 100644
--- a/test/test_duplex.cpp
+++ b/test/test_duplex.cpp
@@ -337,3 +337,10 @@ TEST(cubeb, one_duplex_one_input)
ASSERT_FALSE(duplex_stream_state.invalid_audio_value.load());
}
+
+#undef SAMPLE_FREQUENCY
+#undef STREAM_FORMAT
+#undef INPUT_CHANNELS
+#undef INPUT_LAYOUT
+#undef OUTPUT_CHANNELS
+#undef OUTPUT_LAYOUT