al_set_aud...m_fragment(3)
al_set_aud...m_fragment(3) π
okay bestie, welcome to the Library Functions Manual β¨ this is the page for al_set_audio_stream_fragment β yes, the header truncates her name like that, but the full name is right below, iykyk π.
π 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 π¦
okay so hereβs the tea fr fr: this function needs to be called for every successful call of al_get_audio_stream_fragment(3) β like, each successful one gets its own call to this. Itβs how you indicate that the buffer (the one pointed to by val) is filled with new data. No cap π
.
π SEE ALSO π
al_get_audio_stream_fragment(3)β the linked audio-stream fragment function, go read it too bestie π«Ά
thatβs the whole page, bestie π source/version: Allegro reference manual. date: not listed in the original footer, so no fake timestamp here β periodt π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms