.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_set_sample_instance_gain" "3" "" "Allegro reference manual" .SH NAME al_set_sample_instance_gain \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val) .EE .SH DESCRIPTION Set the playback gain of the sample instance. .PP Returns true on success, false on failure. Will fail if the sample instance is attached directly to a voice. .SH SEE ALSO al_get_sample_instance_gain(3)