1midi_recorder(3) Allegro manual midi_recorder(3)
2
3
4
6 midi_recorder - Hook notifying you when new MIDI data becomes availā
7 able. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 extern void (*midi_recorder)(unsigned char data);
14
16 If set, this function is called by the MIDI input driver whenever a new
17 byte of MIDI data becomes available. It runs in an interrupt context,
18 so it must execute very quickly and all the code/data must be locked.
19 This currently works only under DOS and Windows.
20
21
22
23
25 install_sound_input(3), midi_out(3)
26
27
28
29Allegro version 4.2.3 midi_recorder(3)