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 πβ¨π
π¦ 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