From 1789b0cf3cb089fab24a04b8b8c597b71e76208d Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 17 Sep 2009 07:22:34 +0200 Subject: [PATCH] ext/midi/midi_player.c: use AUBIO_LSMP_FMT --- ext/midi/midi_player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/midi/midi_player.c b/ext/midi/midi_player.c index 998b59d0..da96848e 100644 --- a/ext/midi/midi_player.c +++ b/ext/midi/midi_player.c @@ -349,9 +349,9 @@ sint_t aubio_midi_player_set_midi_tempo(aubio_midi_player_t* player, sint_t temp //player->deltatime = (lsmp_t) tempo / player->division * 1.e-3; /* in milliseconds */ player->deltatime = (lsmp_t) tempo / player->division; /* in microseconds */ - AUBIO_DBG("Tempo Change: %d tempo=%f tick time=%f msec\n", + AUBIO_DBG("Tempo Change: %d tempo=%f tick time=" AUBIO_LSMP_FMT " msec\n", // player->usec_passed, 60.*1.e6/tempo, player->deltatime); - player->usec_passed, 60.*1.e6/tempo, 1e-3*player->deltatime); + player->usec_passed, 60.*1.e6/tempo, 1.e-3*player->deltatime); return AUBIO_OK; } -- 2.26.2