al_get_sample_instance_length man page

al_get_sample_instance_length — 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.

See Also

al_set_sample_instance_length(3), al_get_sample_instance_time(3)

Referenced By

al_get_sample_instance_time(3), al_set_sample_instance_length(3).

Allegro reference manual