---
name: "al_rewind_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_rewind_audio_stream"
---

# al\_rewind\_audio\_stream(3)

Allegro 5 API

## NAME

al\_rewind\_audio\_stream - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
  ```

## DESCRIPTION

Set the streaming file playing position to the beginning. Returns true on success. Currently this can only be called on streams created with [al\_load\_audio\_stream(3)](/al_load_audio_stream/3.md), [al\_play\_audio\_stream(3)](/al_play_audio_stream/3.md), [al\_load\_audio\_stream\_f(3)](/al_load_audio_stream_f/3.md) or [al\_play\_audio\_stream\_f(3)](/al_play_audio_stream_f/3.md).
