start_sound_input(3)
β¨ start_sound_input(3) β¨
okay bestie, welcome to the Allegro manual β yes, that Allegro, the game programming library, and today's main character is start_sound_input. π
πΈ NAME πΈ
start_sound_input β starts recording in the specified format. Allegro game programming library. π
π¦ SYNOPSIS π¦
#include <allegro.h>
int start_sound_input(int rate, int bits, int stereo);
π DESCRIPTION π
So basically: it starts recording in the format you asked for, and if the card is not full duplex, it suspends audio playback as necessary to make that happen. no cap, that's the whole vibe. π§
π RETURN VALUE π
If it works, you get the buffer size in bytes back. If it doesn't, you get zero on error. periodt. π
bestie, do NOT ignore that zero β that's your error signal fr fr.
π SEE ALSO π
install_sound_input(3)read_sound_input(3)stop_sound_input(3)digi_recorder(3)set_sound_input_source(3)get_sound_input_cap_parm(3)get_sound_input_cap_bits(3)get_sound_input_cap_rate(3)get_sound_input_cap_stereo(3)
Allegro version 4.4.3 π«Ά that's the source and version tag right there, and it's dated start_sound_input(3) β so go record something iconic, bestie. slay. πβ¨π
π¦ 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