.\" Generated by the Allegro makedoc utility .TH reallocate_voice 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME reallocate_voice \- Switches the sample of an already-allocated voice. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void reallocate_voice(int voice, const SAMPLE *spl); .SH DESCRIPTION Switches an already-allocated voice to use a different sample. Calling reallocate_voice(voice, sample) is equivalent to: .nf deallocate_voice(voice); voice = allocate_voice(sample); .fi .SH SEE ALSO .BR allocate_voice (3alleg4), .BR deallocate_voice (3alleg4), .BR load_sample (3alleg4)