---
name: "al_start_audio_recorder"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_start_audio_recorder/3alleg5"
---

# al\_start\_audio\_recorder(3alleg5)

Allegro 5 API

## NAME

al\_start\_audio\_recorder - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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.

## SINCE

5\.1.1

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