start_sound_input(3)

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

✨ 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 🌈


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