reallocate_voice (3) - Linux Manuals
reallocate_voice: Switches the sample of an already-allocated voice. Allegro game programming library.
NAMEreallocate_voice - Switches the sample of an already-allocated voice. Allegro game programming library.
void reallocate_voice(int voice, const SAMPLE *spl);
DESCRIPTIONSwitches 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 ALSOallocate_voice(3), deallocate_voice(3), load_sample(3)