al_get_num_audio_output_devices(3)

al_get_num_audio_output_devices3

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
int al_get_num_audio_output_devices()

Overview

Get the number of available audio output devices on the system.

Since

5.2.8

return -1 for unsupported drivers.

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