aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_device_changed_callback.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_device_changed_callback.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_device_changed_callback.cpp')
-rw-r--r--test/test_device_changed_callback.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_device_changed_callback.cpp b/test/test_device_changed_callback.cpp
index 2f44f61..d1e60a8 100644
--- a/test/test_device_changed_callback.cpp
+++ b/test/test_device_changed_callback.cpp
@@ -107,3 +107,10 @@ TEST(cubeb, device_changed_callbacks)
cubeb_stream_destroy(stream);
}
+
+#undef SAMPLE_FREQUENCY
+#undef STREAM_FORMAT
+#undef INPUT_CHANNELS
+#undef INPUT_LAYOUT
+#undef OUTPUT_CHANNELS
+#undef OUTPUT_LAYOUT