1digi_recorder(3) Allegro manual digi_recorder(3)
2
3
4
6 digi_recorder - Hook notifying you when a new sample buffer becomes
7 available. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 extern void (*digi_recorder)();
14
16 If set, this function is called by the input driver whenever a new sam‐
17 ple buffer becomes available, at which point you can use
18 read_sound_input() to copy the data into a more permanent location. It
19 runs in an interrupt context, so it must execute very quickly, the code
20 and all memory that it touches must be locked, and you cannot call any
21 operating system routines or access disk files. This currently works
22 only under DOS.
23
24
26 install_sound_input(3), start_sound_input(3)
27
28
29
30Allegro version 4.4.3 digi_recorder(3)