---
name: "al_set_audio_stream_fragment"
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_fragment/3alleg5"
---

# al\_set\_audio\_stream\_fragment(3alleg5)

Allegro 5 API

## NAME

al\_set\_audio\_stream\_fragment - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_audio.h>
  bool al_set_audio_stream_fragment(ALLEGRO_AUDIO_STREAM *stream, void *val)
  ```

## DESCRIPTION

This function needs to be called for every successful call of al\_get\_audio\_stream\_fragment(3alleg5) to indicate that the buffer (pointed to by `val`) is filled with new data.

## SEE ALSO

al\_get\_audio\_stream\_fragment(3alleg5)
