---
name: "al_destroy_audio_stream"
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_audio_stream"
---

# al\_destroy\_audio\_stream(3)

Allegro 5 API

## NAME

al\_destroy\_audio\_stream - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
  ```

## DESCRIPTION

Destroy an audio stream which was created with [al\_create\_audio\_stream(3)](/al_create_audio_stream/3.md) or [al\_load\_audio\_stream(3)](/al_load_audio_stream/3.md).

*Note:* If the stream is still attached to a mixer or voice, [al\_detach\_audio\_stream(3)](/al_detach_audio_stream/3.md) is automatically called on it first.

## SEE ALSO

[al\_drain\_audio\_stream(3)](/al_drain_audio_stream/3.md).
