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

NAME

6       play_looped_midi  - Starts playing a MIDI file with a user-defined loop
7       position. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int play_looped_midi(MIDI *midi, int loop_start, int loop_end);
14

DESCRIPTION

16       Starts playing a MIDI file with a user-defined loop position. When  the
17       player  reaches  the loop end position or the end of the file (loop_end
18       may be -1 to only loop at EOF), it will wind back  to  the  loop  start
19       point.   Both positions are specified in the same beat number format as
20       the midi_pos variable.
21

RETURN VALUE

23       The return value has the same meaning as that of play_midi():  non-zero
24       if an error occurs, zero otherwise.
25
26

SEE ALSO

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