al_start_audio_recorder(3)

al_start_audio_recorder3

Allegro 5 api

Usage

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

Overview

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

Returns true if it was able to begin recording.

Since

5.1.1

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.