al_set_voice_playing

bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val)
Introduced in 5.0.0

Change whether a voice is playing or not. The voice must have a sample or mixer attached to it.

Returns true on success, false on failure.


Most helpful discussions: