---
name: "al_set_audio_stream_loop_secs"
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_set_audio_stream_loop_secs/3alleg5"
---

# al\_set\_audio\_stream\_loop\_secs(3alleg5)

Allegro 5 API

## NAME

al\_set\_audio\_stream\_loop\_secs - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream,
     double start, double end)
  ```

## DESCRIPTION

Sets the loop points for the stream in seconds. Currently this can only be called on streams created with al\_load\_audio\_stream(3alleg5), al\_play\_audio\_stream(3alleg5), al\_load\_audio\_stream\_f(3alleg5) or al\_play\_audio\_stream\_f(3alleg5).
