DOKK / manpages / debian 11 / allegro5-doc / al_get_sample_frequency.3alleg5.en
al_get_sample_frequency(3alleg5) al_get_sample_frequency(3alleg5)

al_get_sample_frequency - Allegro 5 API

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

Return the frequency (in Hz) of the sample.

al_get_sample_channels(3alleg5), al_get_sample_depth(3alleg5), al_get_sample_length(3alleg5), al_get_sample_data(3alleg5)

Allegro reference manual