debian man page for midi_msg_callback

Query: midi_msg_callback

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

midi_msg_callback(3alleg4)					  Allegro manual					midi_msg_callback(3alleg4)

NAME
midi_msg_callback, midi_meta_callback, midi_sysex_callback - Hook functions allowing you to intercept MIDI player events. Allegro game pro- gramming library.
SYNOPSIS
#include <allegro.h> extern void (*midi_msg_callback)(int msg, int byte1, int byte2); extern void (*midi_meta_callback)(int type, const unsigned char *data, int length); extern void (*midi_sysex_callback)(const unsigned char *data, int length);
DESCRIPTION
Hook functions allowing you to intercept MIDI player events. If set to anything other than NULL, these routines will be called for each MIDI message, meta-event, and system exclusive data block respectively. They will execute in an interrupt handler context, so all the code and data they use should be locked, and they must not call any operating system functions. In general you just use these routines to set some flags and respond to them later in your mainline code.
SEE ALSO
play_midi(3alleg4) Allegro version 4.4.2 midi_msg_callback(3alleg4)
Related Man Pages
exmidi(3alleg4) - debian
exmidi(3alleg4) - opendarwin
play_midi(3alleg4) - suse
exmidi(3alleg4) - mojave
play_midi(3alleg4) - mojave
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections