aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_latency.cpp
diff options
context:
space:
mode:
authorDan Glastonbury <[email protected]>2017-06-23 17:26:09 +1000
committerMatthew Gregan <[email protected]>2017-06-24 00:51:53 +1200
commitd16db3b6926ecfa8b1afff599dd40205d8eecc2b (patch)
treeb5747bb111801d611f8d19d37f6276ec6075c5a8 /test/test_latency.cpp
parent18153b9c799965b95cc411b2adbb93fefaed1cd2 (diff)
downloadcubeb-d16db3b6926ecfa8b1afff599dd40205d8eecc2b.tar.gz
cubeb-d16db3b6926ecfa8b1afff599dd40205d8eecc2b.zip
Change cubeb_get_min_latency to take params via pointer.
To be consistent with cubeb_stream_init, take the cubeb_stream_params parameter via pointer instead of by value. This is a public API change only---Backends are handed params by value via ops table.
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 e01b26f..d71a137 100644
--- a/test/test_latency.cpp
+++ b/test/test_latency.cpp
@@ -39,7 +39,7 @@ TEST(cubeb, latency)
, CUBEB_STREAM_TYPE_MUSIC
#endif
};
- r = cubeb_get_min_latency(ctx, params, &latency_frames);
+ r = cubeb_get_min_latency(ctx, &params, &latency_frames);
ASSERT_TRUE(r == CUBEB_OK || r == CUBEB_ERROR_NOT_SUPPORTED);
if (r == CUBEB_OK) {
ASSERT_GT(latency_frames, 0u);