set_sound_input_source(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– 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