1midi_loop_start(3)              Allegro manual              midi_loop_start(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       extern long midi_loop_start;
14
15       extern long midi_loop_end;
16

DESCRIPTION

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

SEE ALSO

28       play_looped_midi(3)
29
30
31
32Allegro                          version 4.2.2              midi_loop_start(3)
Impressum