From: Paul Brossier Date: Thu, 17 Sep 2009 05:22:34 +0000 (+0200) Subject: ext/midi/midi_player.c: use AUBIO_LSMP_FMT X-Git-Tag: bzr2git~346 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1789b0cf3cb089fab24a04b8b8c597b71e76208d;p=aubio.git ext/midi/midi_player.c: use AUBIO_LSMP_FMT --- 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; }