ALLEGRO_SAMPLE(3)

ALLEGRO_SAMPLE3

Allegro 5 api

Usage

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

Overview

An ALLEGRO_SAMPLE object stores the data necessary for playing pre-defined digital audio. It holds a user-specified PCM data buffer and information about its format (data length, depth, frequency, channel configuration). You can have the same ALLEGRO_SAMPLE playing multiple times simultaneously.

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