al_stop_sample(3alleg5)

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

✨ NAME ✨

al_stop_sample β€” Allegro 5 API πŸ’–

okay so bestie, this is the page for al_stop_sample(3alleg5) from the Allegro 5 API, and it's literally the "make the sound stop" button for one specific sample. no cap.


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

void al_stop_sample(ALLEGRO_SAMPLE_ID *spl_id)

πŸŽ€ DESCRIPTION πŸŽ€

Stop the sample started by al_play_sample(3alleg5).

that's it. that's the whole vibe. you hand it the ALLEGRO_SAMPLE_ID *spl_id of a sample that's already out there playing, and it stops that sample. the way that this is the cleanup bestie for whatever al_play_sample started? iconic. πŸ‘‘

fr fr, keep your spl_id around β€” it's the little receipt you need to shut that sample down. no receipt, no stopping. πŸ™ˆ

πŸ’… SEE ALSO πŸ’…


okay bye cutie πŸ’œ this was the Allegro reference manual, page al_stop_sample(3alleg5). the footer didn't drop a version or a date on this one, so that's all the metadata we got β€” but you understood the assignment. 🫢✨

πŸ“¦ where this page comes from