ALLEGRO_SAMPLE_ID(3)

ALLEGRO_SAMPLE_ID3

Allegro 5 api

Usage

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

Overview

An ALLEGRO_SAMPLE_ID represents a sample being played via al_play_sample(3). It can be used to later stop the sample with al_stop_sample(3). The underlying ALLEGRO_SAMPLE_INSTANCE can be extracted using al_lock_sample_id(3).

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