1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
.TH al_set_voice_playing 3 "" "Allegro reference manual"
.SH NAME
.PP
al_set_voice_playing \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_audio.h>
bool\ al_set_voice_playing(ALLEGRO_VOICE\ *voice,\ bool\ val)
\f[]
.fi
.SH DESCRIPTION
.PP
Change whether a voice is playing or not.
This can only work if the voice has a non\-streaming object attached to
it, e.g.
a sample instance.
On success the voice\[aq]s current sample position is reset.
.PP
Returns true on success, false on failure.
.SH SEE ALSO
.PP
al_get_voice_playing(3)
|