al_fill_silence(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

okay so bestie, this is al_fill_silence(3alleg5) from the Allegro 5 API. ✨

  • al_fill_silence β€” Allegro 5 API 🫢

✨ SYNOPSIS ✨

              #include <allegro5/allegro_audio.h>

              void al_fill_silence(void *buf, unsigned int samples,
                 ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)

πŸ’– DESCRIPTION πŸ’–

okay so al_fill_silence fills a buffer with silence, for the given format and channel configuration. The buffer must have enough space for the given number of samples, and be properly aligned. 🫢

The parameters are buf, samples, depth, and chan_conf β€” and yes, buf needs room for samples, and the whole thing needs to be properly aligned. That's not a vibe suggestion, it's a requirement, bestie. πŸ’…

🌸 SINCE 🌸

5.1.8 β€” she's been here since 5.1.8, periodt. ✨


and that's the sign-off, bestie! this page came from the Allegro reference manual, page al_fill_silence(3alleg5) β€” no date in the footer, just the source and page, iykyk. stay silent, stay iconic. πŸ’–πŸ¦‹

πŸ“¦ where this page comes from