set_sound_input_source(3alleg4)

set_sound_input_source3alleg4

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

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.