install_sound_input(3alleg)

install_sound_input3alleg

Initialises the sound recorder module. allegro game programming library.

Usage

#include <allegro.h>

int install_sound_input(int digi, int midi);

Overview

Initialises the sound recorder module. You must install the normal sound playback system before calling this routine. The two card parameters should use the same constants as install_sound(), including DIGI_NONE and MIDI_NONE to disable parts of the module, or DIGI_AUTODETECT and MIDI_AUTODETECT to guess the hardware.

Return value

This function returns zero on success, and any other value if the machine or driver doesn't support sound recording.

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.