1al_set_voice_playing(3) al_set_voice_playing(3)
2
3
4
6 al_set_voice_playing - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 bool al_set_voice_playing(ALLEGRO_VOICE *voice, bool val)
12
14 Change whether a voice is playing or not. This can only work if the
15 voice has a non-streaming object attached to it, e.g. a sample in‐
16 stance. On success the voice's current sample position is reset.
17
18 Returns true on success, false on failure.
19
21 al_get_voice_playing(3)
22
23
24
25Allegro reference manual al_set_voice_playing(3)