al_get_voice_frequency

unsigned int al_get_voice_frequency(const ALLEGRO_VOICE *voice)
Introduced in 5.0.0

Return the frequency of the voice, e.g. 44100.