midi_sysex_callback man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

midi_msg_callback(3)		Allegro manual		  midi_msg_callback(3)

NAME
       midi_msg_callback, midi_meta_callback, midi_sysex_callback - Hook func‐
       tions 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(3)

Allegro				 version 4.4.2		  midi_msg_callback(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net