summaryrefslogtreecommitdiffstats
path: root/src/tests/interpol-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-01 23:05:43 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-01 23:05:43 +0200
commit1c26d7e174ba54c062c0ae50d33bf4e819bb15ba (patch)
tree3b7a4dff2db5e11ac28e292d3f38b0656444c2e6 /src/tests/interpol-test.c
parent373b5efe51238b0ad34cb9a9d8fc61b973afdad8 (diff)
plot the difference between system and sound card time
Diffstat (limited to 'src/tests/interpol-test.c')
-rw-r--r--src/tests/interpol-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/interpol-test.c b/src/tests/interpol-test.c
index dd24e829..c2c3efe1 100644
--- a/src/tests/interpol-test.c
+++ b/src/tests/interpol-test.c
@@ -162,11 +162,12 @@ int main(int argc, char *argv[]) {
pa_bool_t cork_now;
rtc = pa_timeval_diff(&now, &start);
- printf("%i\t%llu\t%llu\t%llu\t%llu\t%u\t%u\n", k,
+ printf("%i\t%llu\t%llu\t%llu\t%llu\t%lli\t%u\t%u\n", k,
(unsigned long long) rtc,
(unsigned long long) t,
(unsigned long long) (rtc-old_rtc),
(unsigned long long) (t-old_t),
+ (signed long long) rtc - (signed long long) t,
changed,
playing);