Query: midi_pos
OS: suse
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
midi_pos(3alleg4) Allegro manual midi_pos(3alleg4)NAMEmidi_pos - Stores the current position in the MIDI file. Allegro game programming library.SYNOPSIS#include <allegro.h> extern volatile long midi_pos;DESCRIPTIONStores the current position (beat number) in the MIDI file, or contains a negative number if no music is currently playing. Useful for syn- chronising animations with the music, and for checking whether a MIDI file has finished playing.SEE ALSOplay_midi(3alleg4), midi_msg_callback(3alleg4), exmidi(3alleg4) Allegro version 4.4.2 midi_pos(3alleg4)