al_get_sample_instance_time
float al_get_sample_instance_time(const ALLEGRO_SAMPLE_INSTANCE *spl)
Introduced in 5.0.0
Return the length of the sample instance in seconds, assuming a playback speed of 1.0.
Examples: ex_acodec, ex_acodec_multi, ex_kcm_direct, ex_mixer_chain