al_set_mixer_playing(3alleg5)

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

πŸ’– NAME πŸ’–

al_set_mixer_playing β€” Allegro 5 API, bestie 🌸


✨ SYNOPSIS ✨

#include <allegro5/allegro_audio.h>

bool al_set_mixer_playing(ALLEGRO_MIXER *mixer, bool val)

πŸŽ€ DESCRIPTION πŸŽ€

okay so listen β€” this one flips the switch on whether the mixer is playing or not. That's literally it, that's the whole vibe. You hand it your mixer, you hand it a val, and boom, you've changed the playing status. πŸ¦‹

And it tells you how it went, like a good friend would:

  • returns true on success 🫢
  • returns false on failure 😭
ngl that return value is the whole tea β€” check it, don't just assume it slayed. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


k bye bestie, this page came straight out of the Allegro reference manual, and the page itself is al_set_mixer_playing(3alleg5) β€” go forth and set some mixers, you've got this πŸ’œπŸŽ€

πŸ“¦ where this page comes from