al_get_sample_instance_frequency(3) al_get_sample_instance_frequency(3)

al_get_sample_instance_frequency - Allegro 5 API

#include <allegro5/allegro_audio.h>
unsigned int al_get_sample_instance_frequency(const ALLEGRO_SAMPLE_INSTANCE *spl)

Return the frequency (in Hz) of the sample instance’s sample data.

Allegro reference manual