---
name: "ALLEGRO_AUDIO_RECORDER_EVENT"
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/ALLEGRO_AUDIO_RECORDER_EVENT/3alleg5"
---

# ALLEGRO\_AUDIO\_RECORDER\_EVENT(3alleg5)

Allegro 5 API

## NAME

ALLEGRO\_AUDIO\_RECORDER\_EVENT - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  typedef struct ALLEGRO_AUDIO_RECORDER_EVENT ALLEGRO_AUDIO_RECORDER_EVENT;
  ```

## DESCRIPTION

Structure that holds the audio recorder event data. Every event type will contain:

- •

  .source: pointer to the audio recorder

The following will be available depending on the event type:

- •

  .buffer: pointer to buffer containing the audio samples

- •

  .samples: number of samples (not bytes) that are available

Since 5.1.1

## SEE ALSO

al\_get\_audio\_recorder\_event(3alleg5)

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