---
name: "release_voice"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/release_voice/3alleg4"
---

# release\_voice(3alleg4)

Releases a sound card voice. Allegro game programming library.

## NAME

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**(3alleg4), **deallocate\_voice**(3alleg4)
