Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

load_midi(3alleg4) [opendarwin man page]

load_midi(3alleg4)						  Allegro manual						load_midi(3alleg4)

NAME
load_midi - Loads a MIDI file. Allegro game programming library. SYNOPSIS
#include <allegro.h> MIDI *load_midi(const char *filename); DESCRIPTION
Loads a MIDI file (handles both format 0 and format 1). Example: MIDI *music; music = load_midi("backmus.mid"); if (!music) abort_on_error("Couldn't load background music!"); RETURN VALUE
Returns a pointer to a MIDI structure, or NULL on error. Remember to free this MIDI file later to avoid memory leaks. SEE ALSO
destroy_midi(3alleg4), play_midi(3alleg4), get_midi_length(3alleg4), exmidi(3alleg4) Allegro version 4.4.2 load_midi(3alleg4)

Check Out this Related Man Page

exmidi(3alleg4) 						  Allegro manual						   exmidi(3alleg4)

NAME
exmidi - Playing MIDI music. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exmidi DESCRIPTION
This program demonstrates how to play MIDI files. SEE ALSO
END_OF_MAIN(3alleg4), MIDI(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), clear_to_color(3alleg4), desktop_palette(3alleg4), destroy_midi(3alleg4), font(3alleg4), get_filename(3alleg4), get_midi_length(3alleg4), install_keyboard(3alleg4), install_sound(3alleg4), install_timer(3alleg4), key(3alleg4), keypressed(3alleg4), load_midi(3alleg4), makecol(3alleg4), midi_pause(3alleg4), midi_pos(3alleg4), midi_resume(3alleg4), midi_time(3alleg4), play_midi(3alleg4), readkey(3alleg4), rectfill(3alleg4), rest(3alleg4), screen(3alleg4), set_display_switch_mode(3alleg4), set_gfx_mode(3alleg4), set_pal- ette(3alleg4), text_height(3alleg4), text_length(3alleg4), textprintf_centre_ex(3alleg4) Allegro version 4.4.2 exmidi(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos