set_sound_input_source(3alleg)

set_sound_input_source3alleg

Selects the audio input source. allegro game programming library.

Usage

#include <allegro.h>

int set_sound_input_source(int source);

Overview

Selects the audio input source. The parameter should be one of the values:

   SOUND_INPUT_MIC
   SOUND_INPUT_LINE
   SOUND_INPUT_CD

Return value

The function returns zero on success, or -1 if the hardware does not provide an input select register (ie. you have no control over the input source).

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.