midi_pos - Man Page
Stores the current position in the MIDI file. Allegro game programming library.
Synopsis
#include <allegro.h>
extern volatile long midi_pos;
Description
Stores the current position (beat number) in the MIDI file, or contains a negative number if no music is currently playing. Useful for synchronising animations with the music, and for checking whether a MIDI file has finished playing.
See Also
Referenced By
exmidi(3), get_midi_length(3), midi_seek(3), midi_time(3), play_looped_midi(3), play_midi(3).
version 4.4.3 Allegro manual