midi_loop_end (3) - Linux Manuals
midi_loop_end: Loop start and end points, set by play_looped_midi(). Allegro game programming library.
Command to display midi_loop_end
manual in Linux: $ man 3 midi_loop_end
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 respectively.
Pages related to midi_loop_end
- midi_loop_start (3) - Loop start and end points, set by play_looped_midi(). Allegro game programming library.
- midi_meta_callback (3) - Hook functions allowing you to intercept MIDI player events. Allegro game programming library.
- midi_msg_callback (3) - Hook functions allowing you to intercept MIDI player events. Allegro game programming library.
- midi_out (3) - Streams a block of MIDI commands into the player. Allegro game programming library.
- midi_pos (3) - Stores the current position in the MIDI file. Allegro game programming library.
- midi_recorder (3) - Hook notifying you when new MIDI data becomes available. Allegro game programming library.
- midi_seek (3) - Seeks to the given midi_pos in the current MIDI file. Allegro game programming library.
- midi_sysex_callback (3) - Hook functions allowing you to intercept MIDI player events. Allegro game programming library.
- midi_time (3) - The current position in the MIDI file, in seconds. Allegro game programming library.