DOKK / manpages / debian 12 / allegro5-doc / al_identify_sample.3alleg5.en
al_identify_sample(3alleg5) al_identify_sample(3alleg5)

al_identify_sample - Allegro 5 API

#include <allegro5/allegro_audio.h>
char const *al_identify_sample(char const *filename)
    

This works exactly as al_identify_sample_f(3alleg5) but you specify the filename of the file for which to detect the type and not a file handle. The extension, if any, of the passed filename is not taken into account - only the file contents.

5.2.8

al_init_acodec_addon(3alleg5), al_identify_sample_f(3alleg5), al_register_sample_identifier(3alleg5)

Allegro reference manual