aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_latency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_latency.cpp')
-rw-r--r--test/test_latency.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_latency.cpp b/test/test_latency.cpp
index 6af39d5..f4aa6b0 100644
--- a/test/test_latency.cpp
+++ b/test/test_latency.cpp
@@ -34,7 +34,8 @@ TEST(cubeb, latency)
CUBEB_SAMPLE_FLOAT32NE,
preferred_rate,
max_channels,
- CUBEB_LAYOUT_UNDEFINED
+ CUBEB_LAYOUT_UNDEFINED,
+ CUBEB_STREAM_PREF_NONE
};
r = cubeb_get_min_latency(ctx, &params, &latency_frames);
ASSERT_TRUE(r == CUBEB_OK || r == CUBEB_ERROR_NOT_SUPPORTED);