AUDIOSTREAM(3alleg4)

πŸ’– NAME πŸ’–

AUDIOSTREAM β€” stores an audiostream, bestie. It's part of the Allegro game programming library. πŸŽ€


✨ SYNOPSIS ✨

#include <allegro.h>

typedef struct AUDIOSTREAM

🌸 DESCRIPTION 🌸

Okay so first thing, here's the one member it's showing off:

  • int voice; β€” the hardware voice used for the sample πŸ‘‘

So AUDIOSTREAM is a structure holding an audiostream, which is literally just a convenience wrapper around a SAMPLE structure. Its whole thing? Double buffering sounds that are too big to fit into memory, or letting you do clever stuff like generating the sound wave in real time. Iconic behaviour, no cap. πŸ¦‹

Now listen β€” you should not modify the value of the voice directly, okay? Hands off that field, bestie. πŸ™ˆ But what you can do is use all of the voice functions in the chapter "Digital sample routines" to modify the properties of the sound, like the frequency. That's the vibe. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯


That's the whole page, and yes she ate. This was Allegro, version 4.4.3, dropping the AUDIOSTREAM(3alleg4) energy. Go make some noise, bestie πŸ’œβœ¨πŸŽ€