logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

digi_recorder - Hook notifying you when a new sample buffer becomes available. Allegro game programming

Description

       If set, this function is called by the input driver whenever a new sample buffer  becomes  available,  at
       which point you can use read_sound_input() to copy the data into a more permanent location. It runs in an
       interrupt  context,  so  it  must  execute  very quickly, the code and all memory that it touches must be
       locked, and you cannot call any operating system routines or access disk files. This currently works only
       under DOS.

Name

       digi_recorder  -  Hook notifying you when a new sample buffer becomes available. Allegro game programming
       library.

See Also

install_sound_input(3alleg4), start_sound_input(3alleg4)

Allegro                                           version 4.4.3                           digi_recorder(3alleg4)

Synopsis

#include<allegro.h>externvoid(*digi_recorder)();

See Also