DOKK / manpages / debian 10 / allegro5-doc / al_start_audio_recorder.3alleg5.en
al_start_audio_recorder(3alleg5) al_start_audio_recorder(3alleg5)

al_start_audio_recorder - Allegro 5 API

#include <allegro5/allegro_audio.h>
bool al_start_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
    

Begin recording into the fragment buffer. Once a complete fragment has been captured (as specified in al_create_audio_recorder(3alleg5)), an ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT(3alleg5) event will be triggered.

Returns true if it was able to begin recording.

5.1.1

[Unstable API]: The API may need a slight redesign.

Allegro reference manual