al_stop_samples(3alleg5)

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

πŸ’– NAME πŸ’–

okay bestie, this one's called al_stop_samples and it's part of the Allegro 5 API ✨ it's giving "make it stop" energy, but like, in the nicest way possible πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

void al_stop_samples(void)

no arguments, no return value, just vibes πŸ’… literally the simplest signature you'll ever meet.


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” al_stop_samples stops ALL the samples that were started by al_play_sample(3alleg5) πŸ”₯

not one, not a few, every single one of them. like when your group chat is popping off and you just hit "mute" on the entire thing πŸ’€ no survivors, no cap.

it takes void and gives you back void, so don't go looking for a return value, bestie, there isn't one πŸ™ˆ


πŸŽ€ SEE ALSO πŸŽ€

  • al_stop_sample(3alleg5) β€” for when you only want to stop one specific sample instead of the whole lineup πŸ‘‘ (iykyk)

πŸ’‘ heads up: if you're trying to silence everything at once, this is your girl. just remember she does not discriminate β€” every sample started by al_play_sample(3alleg5) is going down 🌈

that's the whole page, bestie 🫢 this lil' slice of the Allegro reference manual covers al_stop_samples(3alleg5) β€” go forth and stop those samples, main character πŸŽ€πŸ’œ

πŸ“¦ where this page comes from