al_get_audio_stream_frequency(3alleg5)
π NAME π
al_get_audio_stream_frequency β it's giving Allegro 5 API, bestie π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
unsigned int al_get_audio_stream_frequency(const ALLEGRO_AUDIO_STREAM *stream)
π DESCRIPTION π
okay so literally all this one does is hand you back the stream's frequency, in Hz πΈ. that's it. that's the whole thing. no cap.
you pass in your stream, and boom β the frequency. it comes back as an unsigned int, so it's a nice lil whole number of hertz, no decimals, no drama π
heads up: the parameter is a const ALLEGRO_AUDIO_STREAM *, so this function is just peeking π β it's not gonna change anything about your stream. read-only, respectful, an icon.
and that's the whole vibe check, fr fr π¦ β this little page lived inside the Allegro reference manual, alongside its bestie al_get_audio_stream_frequency(3alleg5), and yeah that's the same name twice because that's just how manual footers do π«Ά slay, bye bestie πβ¨
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms