al_get_sample_instance_length(1) Allegro 5 API

SYNOPSIS


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

DESCRIPTION

Return the length of the sample instance in sample values. This property may differ from the length of the instance's sample data.