al_get_sample_depth(3)
π§ al_get_sample_depth(3) π§
bestie, this one's from the Library Functions Manual, and it's serving pure Allegro 5 API energy. We're checking the audio depth of a sample, and honestly? Iconic little function. π
πΈ NAME πΈ
al_get_sample_depth β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
ALLEGRO_AUDIO_DEPTH al_get_sample_depth(const ALLEGRO_SAMPLE *spl)
π DESCRIPTION π
okay so al_get_sample_depth returns the audio depth of the sample. That's the whole vibe. It hands you back an ALLEGRO_AUDIO_DEPTH, no cap. β¨
π¦ SEE ALSO π¦
ALLEGRO_AUDIO_DEPTH(3)al_get_sample_channels(3)al_get_sample_frequency(3)al_get_sample_length(3)al_get_sample_data(3)
Bestie, this page came from the Allegro reference manual β that's the source/version vibe β and the footer has literally no date on it, so we're not inventing one. 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