Allegro 5 api
#include <allegro5/allegro_audio.h> unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl)
Return the frequency of the sample instance.