AL_SET_AUDIO_STREAM_SPEED(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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 🧚


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