logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

detect_digi_driver - Detects whether the specified digital sound device is available. Allegro game

Description

       Detects whether the specified digital sound device is available. This function must  be  called  _before_
       install_sound().

Name

       detect_digi_driver  -  Detects  whether  the  specified  digital  sound device is available. Allegro game
       programming library.

Return Value

       Returns the maximum number of voices that the driver can provide, or zero if the hardware is not present.

See Also

install_sound(3alleg4), reserve_voices(3alleg4)

Allegro                                           version 4.4.3                      detect_digi_driver(3alleg4)

Synopsis

#include<allegro.h>intdetect_digi_driver(intdriver_id);

See Also