al_set_voice_playing(3)

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

✨ NAME ✨

Okay bestie, this is al_set_voice_playing(3), living in the Library Functions Manual, and the function itself is pure Allegro 5 API ✨. Its whole thing? Changing whether a voice is playing or not β€” no cap πŸ’….

🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val)

πŸŽ€ DESCRIPTION πŸŽ€

So like, al_set_voice_playing changes whether a voice is playing or not πŸ¦‹. Major vibe check: this can only work if the voice has a non-streaming object attached to it, e.g. a sample instance πŸ“.

On success, the voice’s current sample position is reset πŸ’«.

It returns true on success and false on failure β€” that’s the whole status update, bestie πŸ’–.

πŸ¦‹ SEE ALSO πŸ¦‹


Sign-off: this page is from the Allegro reference manual, filed under al_set_voice_playing(3) β€” no date shown in the footer, so we’re serving source/version vibes and exiting with main character energy πŸ’…πŸŽ€βœ¨.

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