reallocate_voice - Man Page
Switches the sample of an already-allocated voice. Allegro game programming library.
Synopsis
#include <allegro.h>
void reallocate_voice(int voice, const SAMPLE *spl);
Description
Switches an already-allocated voice to use a different sample. Calling reallocate_voice(voice, sample) is equivalent to:
deallocate_voice(voice); voice = allocate_voice(sample);
See Also
Referenced By
version 4.4.3 Allegro manual