aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_latency.cpp
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2016-07-04 14:11:22 +0200
committerPaul Adenot <[email protected]>2016-07-12 19:43:35 +0200
commitb0b5c4939e82dbcd04cf528e8bb371cf77bd0da7 (patch)
tree7f548a486d302f6657a83096c90d86ec47d42d2e /test/test_latency.cpp
parente292d8cfb1f14c895678cf168ac1e0a6467f5799 (diff)
downloadcubeb-b0b5c4939e82dbcd04cf528e8bb371cf77bd0da7.tar.gz
cubeb-b0b5c4939e82dbcd04cf528e8bb371cf77bd0da7.zip
Rename latency_ms to latency_frames in test_latency.cpp.
Diffstat (limited to 'test/test_latency.cpp')
-rw-r--r--test/test_latency.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_latency.cpp b/test/test_latency.cpp
index 5e58f87..558ef95 100644
--- a/test/test_latency.cpp
+++ b/test/test_latency.cpp
@@ -21,7 +21,7 @@ int main(int argc, char * argv[])
int r;
uint32_t max_channels;
uint32_t preferred_rate;
- uint32_t latency_ms;
+ uint32_t latency_frames;
LOG("latency_test start");
r = cubeb_init(&ctx, "Cubeb audio test");
@@ -47,10 +47,10 @@ int main(int argc, char * argv[])
preferred_rate,
max_channels
};
- r = cubeb_get_min_latency(ctx, params, &latency_ms);
+ r = cubeb_get_min_latency(ctx, params, &latency_frames);
assert(r == CUBEB_OK || r == CUBEB_ERROR_NOT_SUPPORTED);
if (r == CUBEB_OK) {
- assert(latency_ms > 0 && "Invalid minimal latency.");
+ assert(latency_frames > 0 && "Invalid minimal latency.");
LOG("cubeb_get_min_latency ok");
}