Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
midi_pos(3)			 Allegro manual 		     midi_pos(3)

NAME
     midi_pos  - Stores the current position in the MIDI file. Allegro game pro-
     gramming 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  fin-
     ished playing.

SEE ALSO
     play_midi(3), midi_msg_callback(3), exmidi(3)

Allegro 			  version 4.4.3 		     midi_pos(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=midi_pos&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help