al_identify_sample(3)

al_identify_sample3

Allegro 5 api

Usage

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

Overview

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.

Since

5.2.8

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.