al_identify_sample(3) al_identify_sample(3)

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(3) 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(3), al_identify_sample_f(3), al_register_sample_identifier(3)

Allegro reference manual