ALLEGRO_SAMPLE - Man Page

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 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.

See Also

ALLEGRO_SAMPLE_INSTANCE(3)

Referenced By

al_destroy_sample(3), al_get_sample(3), ALLEGRO_SAMPLE_INSTANCE(3), ALLEGRO_VOICE(3), al_load_sample_f(3).

Allegro reference manual