DOKK / manpages / debian 11 / allegro5-doc / al_get_sample_instance_gain.3alleg5.en
al_get_sample_instance_gain(3alleg5) al_get_sample_instance_gain(3alleg5)

al_get_sample_instance_gain - Allegro 5 API

#include <allegro5/allegro_audio.h>
float al_get_sample_instance_gain(const ALLEGRO_SAMPLE_INSTANCE *spl)
    

Return the playback gain of the sample instance.

al_set_sample_instance_gain(3alleg5)

Allegro reference manual