al_get_audio_stream_speed(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_get_audio_stream_speed β€” Allegro 5 API ✨

okay bestie, welcome to al_get_audio_stream_speed(3alleg5), a page straight out of the Allegro reference manual. it's short, it's sweet, it's giving "one job and it does it" πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

float al_get_audio_stream_speed(const ALLEGRO_AUDIO_STREAM *stream)

like yes, that's the whole thing. one include, one function, no drama 🫢


πŸ’– DESCRIPTION πŸ’–

so what does it do? it returns the relative playback speed of the stream. that's it. that's the whole vibe check. you hand it a const ALLEGRO_AUDIO_STREAM *stream, it hands you back a float telling you how fast that stream is currently playing relative to normal speed. no cap πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

  • al_set_audio_stream_speed(3alleg5) β€” the one that actually sets the speed, if you're feeling main character energy and wanna change it instead of just reading it πŸ‘‘

and that's the tea, bestie πŸŽ€ this was al_get_audio_stream_speed(3alleg5) from the Allegro reference manual β€” mwah, iconic, periodt. go get that speed value, you've got this πŸ’œβœ¨

πŸ“¦ where this page comes from