table of contents
ALLEGRO_SAMPLE_ID(3alleg5) | ALLEGRO_SAMPLE_ID(3alleg5) |
NAME¶
ALLEGRO_SAMPLE_ID - Allegro 5 API
SYNOPSIS¶
-
#include <allegro5/allegro_audio.h> typedef struct ALLEGRO_SAMPLE_ID ALLEGRO_SAMPLE_ID;
DESCRIPTION¶
An ALLEGRO_SAMPLE_ID represents a sample being played via al_play_sample(3alleg5). It can be used to later sALLEGRO_BITMAP_WRAPtop the sample with al_stop_sample(3alleg5). The underlying ALLEGRO_SAMPLE_INSTANCE can be extracted using al_lock_sample_id(3alleg5).
Allegro reference manual |