aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/pcm_test_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/include/pcm_test_device.h b/tests/include/pcm_test_device.h
index 1932737..f6e7807 100644
--- a/tests/include/pcm_test_device.h
+++ b/tests/include/pcm_test_device.h
@@ -40,8 +40,13 @@ namespace testing {
#define TEST_LOOPBACK_PALYBACK_DEVICE 0
#endif
+#ifndef TEST_LOOPBACK_CAPTURE_DEVICE
+#define TEST_LOOPBACK_CAPTURE_DEVICE 1
+#endif
+
constexpr unsigned int kLoopbackCard = TEST_LOOPBACK_CARD;
constexpr unsigned int kLoopbackPlaybackDevice = TEST_LOOPBACK_PALYBACK_DEVICE;
+constexpr unsigned int kLoopbackCaptureDevice = TEST_LOOPBACK_CAPTURE_DEVICE;
} // namespace testing
} // namespace tinyalse