al_get_audio_depth_size(3)

al_get_audio_depth_size3

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
size_t al_get_audio_depth_size(ALLEGRO_AUDIO_DEPTH depth)

Overview

Return the size of a sample, in bytes, for the given format. The format is one of the values listed under ALLEGRO_AUDIO_DEPTH(3).

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