logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

midi_pos - Stores the current position in the MIDI file. Allegro game programming library.

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.

Name

       midi_pos - Stores the current position in the MIDI file. Allegro game programming library.

See Also

play_midi(3alleg4), midi_msg_callback(3alleg4), exmidi(3alleg4)

Allegro                                           version 4.4.3                                midi_pos(3alleg4)

Synopsis

#include<allegro.h>externvolatilelongmidi_pos;

See Also