install_sound_input(3alleg4)

install_sound_input3alleg4

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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.