AL_SET_AUDIO_STREAM_SPEED(3)
π al_set_audio_stream_speed(3) π
okay bestie, welcome to the Allegro 5 API corner of the Allegro reference manual β¨ this one is short and sweet, so let's get into it π
πΈ NAME πΈ
al_set_audio_stream_speed β literally the function that sets your audio stream's playback speed, part of the Allegro 5 API π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
bool al_set_audio_stream_speed(ALLEGRO_AUDIO_STREAM *stream, float val)
π¦ DESCRIPTION π¦
so what it does: it sets the relative playback speed of the stream π
and listen β 1.0 means normal speed, no cap. that's the baseline, the main character value, the vibe check default π
it returns true on success and false on failure π«Ά
β οΈ ok important: it will fail if the audio stream is attached directly to a voice. like, that's just the rules, not me being dramatic π
π§ SEE ALSO π§
al_get_audio_stream_speed(3)β the icon that reads the speed back, iykyk π
alright that's the whole thing, go slay π this was the Allegro reference manual (that's the source, bestie) β mwah, catch you on the next page β¨ππΈπ¦
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms