Allegro 5 api
#include <allegro5/allegro_audio.h> void *al_get_sample_data(const ALLEGRO_SAMPLE *spl)
Return a pointer to the raw sample data.
al_get_sample_channels(3alleg5), al_get_sample_depth(3alleg5), al_get_sample_frequency(3alleg5), al_get_sample_length(3alleg5)