Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

al_fill_silence - Allegro 5 API

Description

       Fill  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.

Name

       al_fill_silence - Allegro 5 API

Since

       5.1.8

Allegro reference manual                                                                al_fill_silence(3alleg5)

Synopsis

              #include <allegro5/allegro_audio.h>

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

See Also