midi_time(3alleg4) | Allegro manual | midi_time(3alleg4) |
midi_time - The current position in the MIDI file, in seconds. Allegro game programming library.
#include <allegro.h>
extern volatile long midi_time;
Contains the position in seconds in the currently playing midi. This is useful if you want to display the current song position in seconds, not as beat number.
play_midi(3alleg4), midi_pos(3alleg4), get_midi_length(3alleg4), exmidi(3alleg4)
version 4.4.2 | Allegro |