1al_set_sample_instance_gain(3)                  al_set_sample_instance_gain(3)
2
3
4

NAME

6       al_set_sample_instance_gain - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_audio.h>
10
11              bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
12

DESCRIPTION

14       Set the playback gain of the sample instance.
15
16       Returns true on success, false on failure.  Will fail if the sample in‐
17       stance is attached directly to a voice.
18

SEE ALSO

20       al_get_sample_instance_gain(3)
21
22
23
24Allegro reference manual                        al_set_sample_instance_gain(3)
Impressum