1detect_digi_driver(3) Allegro manual detect_digi_driver(3)
2
3
4
6 detect_digi_driver - Detects whether the specified digital sound device
7 is available. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 int detect_digi_driver(int driver_id);
14
16 Detects whether the specified digital sound device is available. This
17 function must be called _before_ install_sound().
18
20 Returns the maximum number of voices that the driver can provide, or
21 zero if the hardware is not present.
22
23
25 install_sound(3), reserve_voices(3)
26
27
28
29Allegro version 4.2.2 detect_digi_driver(3)