start_sound_input(3alleg4)
β¨ start_sound_input β¨
okay so this is a page from the Allegro manual (yes, the Allegro game programming library, she's iconic) and today we're talking about start_sound_input π
π NAME π
start_sound_input β bestie, she starts recording in the format you picked. Allegro game programming library energy fr fr.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int start_sound_input(int rate, int bits, int stereo);
π¦ DESCRIPTION π¦
So like, start_sound_input starts recording in the specified format. That's the whole vibe. π
But here's the tea: if your sound card is not full duplex, she will suspend audio playback as necessary. Like, she's not gonna let playback and recording fight over the aux cord β she handles it. Not me being thoughtful for once π
π RETURN VALUE π
- If it works β she returns the buffer size in bytes β¨
- If it flops β she returns zero on error π
π SEE ALSO π
the girlies she runs with, aka the whole squad:
install_sound_input(3alleg4)read_sound_input(3alleg4)stop_sound_input(3alleg4)digi_recorder(3alleg4)set_sound_input_source(3alleg4)get_sound_input_cap_parm(3alleg4)get_sound_input_cap_bits(3alleg4)get_sound_input_cap_rate(3alleg4)get_sound_input_cap_stereo(3alleg4)
and that's the whole page bestie, no cap π«Ά this was brought to you by Allegro, version 4.4.3, and the page herself, start_sound_input(3alleg4) β go forth and record, mwah π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms