---
name: "al_attach_audio_stream_to_mixer"
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_attach_audio_stream_to_mixer"
---

# al\_attach\_audio\_stream\_to\_mixer(3)

Allegro 5 API

## NAME

al\_attach\_audio\_stream\_to\_mixer - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer)
  ```

## DESCRIPTION

Attach an audio stream to a mixer. The stream must not already be attached to anything.

Returns true on success, false on failure.

## SEE ALSO

[al\_detach\_audio\_stream(3)](/al_detach_audio_stream/3.md).
