set_sound_input_source.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

set_sound_input_source - Selects the audio input source. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int set_sound_input_source(int source);

DESCRIPTION

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).

SEE ALSO

start_sound_input(3alleg)