projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/: add time format option
[aubio.git]
/
examples
/
aubiotrack.c
diff --git
a/examples/aubiotrack.c
b/examples/aubiotrack.c
index
ab0c2d7
..
330fc8c
100644
(file)
--- a/
examples/aubiotrack.c
+++ b/
examples/aubiotrack.c
@@
-50,7
+50,8
@@
void process_block(fvec_t * ibuf, fvec_t *obuf) {
void process_print (void) {
if ( is_beat && !is_silence ) {
- outmsg("%f\n", aubio_tempo_get_last_s(tempo) );
+ print_time (aubio_tempo_get_last (tempo));
+ outmsg ("\n");
}
}