set_sound_input_source(3)
π NAME π
set_sound_input_source β selects the audio input source. It's part of the Allegro game programming library. This page is set_sound_input_source(3) from the Allegro manual, and we're about to make input-source selection make sense, bestie. β¨
πΈ SYNOPSIS πΈ
#include <allegro.h>
int set_sound_input_source(int source);
π¦ DESCRIPTION π¦
Okay so this function selects the audio input source. The source parameter should be one of these values:
SOUND_INPUT_MICβ the mic source. π€SOUND_INPUT_LINEβ the line source. π§SOUND_INPUT_CDβ the CD source. πΏ
That's it. That's the whole vibe for this one. π
π RETURN VALUE π
The function returns zero on success. If the hardware does not provide an input select register (ie. you have no control over the input source), it returns -1. So -1 is the "bestie, the hardware said no" signal. π
π SEE ALSO π
kisses and bye β this was the set_sound_input_source(3) page from the Allegro manual, Allegro version 4.4.3. The footer didn't show a date, so we're not making one up, periodt. π«Άπ
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms