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

# al\_get\_sample\_data(3alleg5)

Allegro 5 API

## NAME

al\_get\_sample\_data - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  void *al_get_sample_data(const ALLEGRO_SAMPLE *spl)
  ```

## DESCRIPTION

Return a pointer to the raw sample data.

## SEE ALSO

al\_get\_sample\_channels(3alleg5), al\_get\_sample\_depth(3alleg5), al\_get\_sample\_frequency(3alleg5), al\_get\_sample\_length(3alleg5)
