al_set_sam...ance_speed(3)

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

🌸 NAME 🌸

Okay bestie, this is the Library Functions Manual page for al_set_sample_instance_speed(3) β€” and the header is out here doing the most with al_set_sam...ance_speed(3), because apparently we abbreviate now 😭.

al_set_sample_instance_speed - Allegro 5 API πŸ’…


✨ SYNOPSIS ✨

#include <allegro5/allegro_audio.h>

bool al_set_sample_instance_speed(ALLEGRO_SAMPLE_INSTANCE *spl, float val)

πŸ’– DESCRIPTION πŸ’–

So this one sets the relative playback speed of the sample instance, fr fr. 1.0 means normal speed β€” that’s the baseline vibe check. ⭐

It returns true on success and false on failure. πŸ™ˆ And bestie, listen: it will fail if the sample instance is attached directly to a voice. That’s the caveat, no cap. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹


Cute sign-off time: source/version is the Allegro reference manual, the footer also shows al_set_sam...ance_speed(3), and there’s no date line on this page β€” that’s the whole footer tea. πŸ’œβœ¨

πŸ“¦ 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