aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_audio.cpp
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2016-07-19 11:53:06 +0200
committerPaul Adenot <[email protected]>2016-07-19 11:53:06 +0200
commitc99c306f25f65c32bd0a5f641fc0c6eb341bf8f6 (patch)
treef10dee41b94db0617e137d5eede8072bcff5f4e0 /test/test_audio.cpp
parent22db111f2be9eb17e71c23e29519607ed6c746fd (diff)
downloadcubeb-c99c306f25f65c32bd0a5f641fc0c6eb341bf8f6.tar.gz
cubeb-c99c306f25f65c32bd0a5f641fc0c6eb341bf8f6.zip
Update a test to have the latency in frames.
Diffstat (limited to 'test/test_audio.cpp')
-rw-r--r--test/test_audio.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_audio.cpp b/test/test_audio.cpp
index 7a8adf6..e2c72dd 100644
--- a/test/test_audio.cpp
+++ b/test/test_audio.cpp
@@ -213,7 +213,8 @@ int run_panning_volume_test(int is_float)
}
r = cubeb_stream_init(ctx, &stream, "test tone", NULL, NULL, NULL, &params,
- 100, is_float ? data_cb_float : data_cb_short, state_cb, synth);
+ 4096, is_float ? data_cb_float : data_cb_short,
+ state_cb, synth);
if (r != CUBEB_OK) {
fprintf(stderr, "Error initializing cubeb stream: %d\n", r);
goto cleanup;