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

FreeBSD Manual Pages

  
 
  

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

NAME
     midi_loop_start,  midi_loop_end  -  Loop  start  and  end	points,  set  by
     play_looped_midi(). Allegro game programming library.

SYNOPSIS
     #include <allegro.h>

     extern long midi_loop_start;

     extern long midi_loop_end;

DESCRIPTION
     The loop start and end points,  set  by  the  play_looped_midi()  function.
     These  may  safely be altered while the music is playing, but you should be
     sure they are always set to sensible values  (start  <  end).  If	you  are
     changing  them  both at the same time, make sure to alter them in the right
     order in case a MIDI interrupt happens to occur in between your two writes!
     Setting these values to -1 represents the start and end of the file respec-
     tively.

SEE ALSO
     play_looped_midi(3)

Allegro 			  version 4.4.3 	      midi_loop_start(3)

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

home | help