ALLEGRO_SAMPLE(3)ALLEGRO_SAMPLE(3)NAMEALLEGRO_SAMPLE - Allegro 5 API
SYNOPSIS
#include <allegro5/allegro_audio.h>
typedef struct ALLEGRO_SAMPLE ALLEGRO_SAMPLE;
DESCRIPTION
An ALLEGRO_SAMPLE object stores the data necessary for playing
pre-defined digital audio. It holds information pertaining to data
length, frequency, channel configuration, etc. You can have an ALLE‐
GRO_SAMPLE object playing multiple times simultaneously. The object
holds a user-specified PCM data buffer, of the format the object is
created with.
SEE ALSOALLEGRO_SAMPLE_INSTANCE(3)Allegro reference manualALLEGRO_SAMPLE(3)