detect_digi_driver(3alleg)

detect_digi_driver3alleg

Detects whether the specified digital sound device is available. allegro game programming library.

Usage

#include <allegro.h>

int detect_digi_driver(int driver_id);

Overview

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.