al_stop_sample(3)

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

πŸ’– al_stop_sample(3) πŸ’–

okay so this page comes from the Library Functions Manual, and it’s giving short and iconic Allegro 5 API energy. We’re talking about al_stop_sample, bestie β€” the lil’ function that handles stopping a sample.

🌸 NAME 🌸

al_stop_sample - Allegro 5 API

✨ SYNOPSIS ✨

#include <allegro5/allegro_audio.h>

void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)

πŸ’… DESCRIPTION πŸ’…

Stop the sample started by al_play_sample(3). That’s it. That’s the whole assignment, no cap. You pass in ALLEGRO_SAMPLE_ID *spl_id, and it stops the sample that al_play_sample(3) started. Slay.

lowkey short, but that’s the point πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ β€” from the Allegro reference manual, and no date was listed on this one, periodt. 🫢

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