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

midi_recorder - Hook notifying you when new MIDI data becomes available. Allegro game programming

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.

Name

       midi_recorder  -  Hook  notifying  you  when  new  MIDI  data becomes available. Allegro game programming
       library.

See Also

install_sound_input(3alleg4), midi_out(3alleg4)

Allegro                                           version 4.4.3                           midi_recorder(3alleg4)

Synopsis

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

See Also