detect_digi_driver(3)
π NAME π
detect_digi_driver β this is the detect_digi_driver(3) page from the Allegro manual, and it detects whether the specified digital sound device is available. It's part of the Allegro game programming library, bestie. π
β¨ SYNOPSIS β¨
#include <allegro.h>
int detect_digi_driver(int driver_id);
π DESCRIPTION π
Okay so detect_digi_driver() checks if the digital sound device you're pointing at with driver_id is actually available. This function must be called _before_ install_sound(). Like, before before. Not after. Not during. Before. π«Ά
π₯ RETURN VALUE π₯
It returns the maximum number of voices that the driver can provide, or zero if the hardware is not present. So if you get 0, that's a no-hardware situation, bestie π. If you get a number, that's the max voices the driver can give. Slay.
π SEE ALSO π
kisses from the Allegro manual, version 4.4.3 β detect_digi_driver(3) out π
β¨
π¦ 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