voice_check(3)
π NAME π
okay so bestie, welcome to voice_check(3) from the Allegro manual! This is the Allegro game programming library page for voice_check, and its whole job is: checks whether a voice is currently allocated. iconic. π
β¨ SYNOPSIS β¨
#include <allegro.h>
SAMPLE *voice_check(int voice);
πΈ DESCRIPTION πΈ
So like, voice_check() is the vibe check for voices: it checks whether a voice is currently allocated. That's the entire tea. No extra secret sauce, no hidden side quests. π«Ά
π RETURN VALUE π
If the voice is active, you get back a pointer to the sample that the voice is using. If the voice is inactive, you get NULL. And "inactive" means it's been deallocated, or release_voice() was called and then the sample has finished playing. So yeah: no active voice, no sample pointer, just NULL. π
π SEE ALSO π
Go read these next, bestie:
This page is from Allegro, version 4.4.3, and it's the voice_check(3) manual. No date on the footer, just version energy β mwah πβ¨π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms