al_get_sample_length

unsigned int al_get_sample_length(const ALLEGRO_SAMPLE *spl)
Introduced in 5.0.0

Return the length of the sample in sample values.


Most helpful discussions: