1reallocate_voice(3)             Allegro manual             reallocate_voice(3)
2
3
4

NAME

6       reallocate_voice  -  Switches the sample of an already-allocated voice.
7       Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void reallocate_voice(int voice, const SAMPLE *spl);
14

DESCRIPTION

16       Switches an already-allocated voice to use a different sample.  Calling
17       reallocate_voice(voice, sample) is equivalent to:
18
19          deallocate_voice(voice);
20          voice = allocate_voice(sample);
21
22

SEE ALSO

24       allocate_voice(3), deallocate_voice(3), load_sample(3)
25
26
27
28Allegro                          version 4.2.3             reallocate_voice(3)
Impressum