release_voice man page

release_voice — Releases a sound card voice. Allegro game programming library.

Synopsis

#include <allegro.h>

void release_voice(int voice);

Description

Releases a sound card voice, indicating that you are no longer interested in manipulating it. The sound will continue to play, and any resources that it is using will automatically be freed when it finishes. This is essentially the same as deallocate_voice(), but it waits for the sound to stop playing before taking effect.

See Also

allocate_voice(3), deallocate_voice(3)

Referenced By

allocate_voice(3), voice_start(3), voice_stop(3).

version 4.4.2 Allegro Allegro manual