detect_digi_driver(3) - Linux man page

Name

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

Synopsis

#include <allegro.h>

int detect_digi_driver(int driver_id);

Description

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

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(3), reserve_voices(3)

Referenced By

set_volume_per_voice(3)