al_get_sample_instance_gain(3alleg5)

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

πŸŽ€ al_get_sample_instance_gain πŸŽ€

okay bestie, welcome to the al_get_sample_instance_gain(3alleg5) page β€” this is the Allegro 5 API manual, manual name 3alleg5, and this function is lowkey a little getter with main character energy. Let's go. πŸ’…


✨ NAME ✨

  • al_get_sample_instance_gain β€” Allegro 5 API

Like, that's the name, that's the API, no cap. πŸ¦‹


πŸ“œ SYNOPSIS πŸ“œ

Here's the exact incantation, copied character-for-character because we do not play with code:

#include <allegro5/allegro_audio.h>

float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl)

So you include <allegro5/allegro_audio.h>, and the function takes one argument: const ALLEGRO_SAMPLE_INSTANCE *spl. It returns a float. Slay. ✨


πŸ’– DESCRIPTION πŸ’–

Return the playback gain of the sample instance.

That's the whole description, bestie. It hands you back the playback gain of the sample instance. It's giving "getter but make it audio." No extra drama, just vibes. 🎧


πŸ‘€ SEE ALSO πŸ‘€


β€” from the Allegro reference manual, page al_get_sample_instance_gain(3alleg5); the footer didn't give me a date, so that's the tea, no date, periodt. πŸ’–

πŸ“¦ where this page comes from