---
name: "deallocate_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/deallocate_voice/3alleg4"
---

# deallocate\_voice(3alleg4)

Frees a sound card voice. Allegro game programming library.

## NAME

deallocate\_voice - Frees a sound card voice. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void deallocate\_voice(int voice);**

## DESCRIPTION

Frees a sound card voice, stopping it from playing and releasing whatever  resources it is using.

## SEE ALSO

**allocate\_voice**(3alleg4), **voice\_stop**(3alleg4)
