aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_latency.cpp
diff options
context:
space:
mode:
authorDamien Zammit <[email protected]>2017-02-21 16:09:05 +1100
committerMatthew Gregan <[email protected]>2017-03-13 11:00:12 +1300
commit4c39aae8d31334dc46d3b69d9695eed790fac38b (patch)
tree711b285becb19f69053c82ed64a7deb6ad320570 /test/test_latency.cpp
parent7b082450d2b57a4f2c541cb69558ae28682163f2 (diff)
downloadcubeb-4c39aae8d31334dc46d3b69d9695eed790fac38b.tar.gz
cubeb-4c39aae8d31334dc46d3b69d9695eed790fac38b.zip
cubeb-api: Give cubeb_init a third param, backend name
This allows forcing of a particular backend by name, *if* it was compiled in, otherwise default list is tried in default order as before. Tests updated to reflect new api. (Gecko change required) Using JACK backend: 100% tests passed, 0 tests failed out of 13 Total Test time (real) = 183.75 sec Signed-off-by: Damien Zammit <[email protected]>
Diffstat (limited to 'test/test_latency.cpp')
-rw-r--r--test/test_latency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_latency.cpp b/test/test_latency.cpp
index 94c9e5c..77a9908 100644
--- a/test/test_latency.cpp
+++ b/test/test_latency.cpp
@@ -11,7 +11,7 @@ TEST(cubeb, latency)
uint32_t latency_frames;
cubeb_channel_layout layout;
- r = cubeb_init(&ctx, "Cubeb audio test");
+ r = cubeb_init(&ctx, "Cubeb audio test", NULL);
ASSERT_EQ(r, CUBEB_OK);
r = cubeb_get_max_channel_count(ctx, &max_channels);