---
name: "al_detach_voice"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_detach_voice/3alleg5"
---

# al\_detach\_voice(3alleg5)

Allegro 5 API

## NAME

al\_detach\_voice - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

Detaches the mixer, sample instance or audio stream from the voice.

## SEE ALSO

al\_attach\_mixer\_to\_voice(3alleg5), al\_attach\_sample\_instance\_to\_voice(3alleg5), al\_attach\_audio\_stream\_to\_voice(3alleg5)
