logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_sample_instance_gain - Allegro 5 API

Description

       Set the playback gain of the sample instance.

       Returns  true  on  success, false on failure.  Will fail if the sample instance is attached directly to a
       voice.

Name

       al_set_sample_instance_gain - Allegro 5 API

See Also

al_get_sample_instance_gain(3alleg5)

Allegro reference manual                                                    al_set_sample_instance_gain(3alleg5)

Synopsis

              #include <allegro5/allegro_audio.h>

              bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)

See Also