---
name: "al_destroy_voice"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_destroy_voice"
---

# al\_destroy\_voice(3)

Allegro 5 API

## NAME

al\_destroy\_voice - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  void al_destroy_voice(ALLEGRO_VOICE *voice)
  ```

## DESCRIPTION

Destroys the voice and deallocates it from the digital driver. Does nothing if the voice is NULL.

## SEE ALSO

[al\_create\_voice(3)](/al_create_voice/3.md)
