al_get_num_au...output_devices(3alleg5)
πΈ NAME πΈ
okay so bestie, welcome to the al_get_num_audio_output_devices(3alleg5) page from the Allegro reference manual π. This is al_get_num_audio_output_devices β the Allegro 5 API function that counts your audio output devices, no cap.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
int al_get_num_audio_output_devices()
π DESCRIPTION π
This function gets the number of available audio output devices on the system. That's the whole main character moment: it's giving how many audio outputs are we working with? π§β¨
π¦ SINCE π¦
This has been around since 5.2.8, periodt. π
Also, for unsupported drivers it willreturn -1. So if you see a-1, that's not a device count, that's the driver saying "not supported, bestie" ππ.
That's the Allegro reference manual, 3alleg5, signing off π
β¨ (source/version: Allegro reference manual, 3alleg5; date: not listed on this page, but the vibe is timeless π).
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms