get_sound_input_cap_parm(3)
π get_sound_input_cap_parm(3) π
okay so bestie, this one lives in the Allegro manual β it's a page from the Allegro game programming library and it's literally about asking your sound card "hey girl, can you even record like this??" π€β¨
β¨ NAME β¨
get_sound_input_cap_parm β detects if the specified recording parameters are supported. Allegro game programming library. π¦
π SYNOPSIS π
#include <allegro.h>
int get_sound_input_cap_parm(int rate, int bits, int stereo);
π DESCRIPTION π
so basically this function checks whether the recording frequency, the number of bits, and the mono/stereo mode you're asking for are supported by the current audio driver β and how they're supported. it's giving vibe check for your sound setup π₯
like, you hand it the specs, it tells you what's actually possible. no cap.
πΈ RETURN VALUE πΈ
the function hands back one of these possible values, and honestly each one is a whole mood:
0= it is impossible to record in this format. nope. not happening. π1= recording is possible, but audio output will be suspended π like you can record but the playback girlies have to sit this one out.2= recording is possible at the same time as playing other sounds (full duplex sound card). iconic behavior, she can do both π-n= sampling rate not supported, but ratenwould work instead. so like, not that rate bestie, but this one? yes π«Ά
π¦ SEE ALSO π¦
start_sound_input(3)get_sound_input_cap_bits(3)get_sound_input_cap_rate(3)get_sound_input_cap_stereo(3)
k that's the whole page, mwah π this was Allegro version 4.4.3, and yes the copyright/version energy is very much real. 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