---
name: "deallocate_voice"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/deallocate_voice"
---

# deallocate\_voice(3alleg)

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**(3alleg)](/allocate_voice/3alleg.md), [**voice\_stop**(3alleg)](/voice_stop/3alleg.md)
