table of contents
other versions
- bookworm 2:4.4.3.1-3
- testing 2:4.4.3.1-4
- unstable 2:4.4.3.1-4.1
- experimental 2:4.4.3.1-4.1~exp2
midi_recorder(3alleg4) | Allegro manual | midi_recorder(3alleg4) |
NAME¶
midi_recorder - Hook notifying you when new MIDI data becomes available. Allegro game programming library.
SYNOPSIS¶
#include <allegro.h>
extern void (*midi_recorder)(unsigned char data);
DESCRIPTION¶
If set, this function is called by the MIDI input driver whenever a new byte of MIDI data becomes available. It runs in an interrupt context, so it must execute very quickly and all the code/data must be locked. This currently works only under DOS and Windows.
SEE ALSO¶
install_sound_input(3alleg4), midi_out(3alleg4)
version 4.4.3 | Allegro |