1voice_check(3) Allegro manual voice_check(3)
2
3
4
6 voice_check - Checks whether a voice is currently allocated. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 SAMPLE *voice_check(int voice);
14
16 Checks whether a voice is currently allocated.
17
19 Returns a pointer to the sample that the voice is using, or NULL if the
20 voice is inactive (ie. it has been deallocated, or the release_voice()
21 function has been called and the sample has then finished playing).
22
23
25 allocate_voice(3), voice_start(3), voice_get_position(3)
26
27
28
29Allegro version 4.2.3 voice_check(3)