1al_set_sample_instance_gain(L3i)brary Functions Manuaall_set_sample_instance_gain(3)
23
4
NAME
6al_set_sample_instance_gain
7
SYNOPSIS
9#include <allegro5/allegro_audio.h>
1011
bool al_set_sample_instance_gain(ALLEGRO_SAMPLE_INSTANCE *spl, float val)
12
DESCRIPTION
14Set the playback gain.
1516
Returns true on success, false on failure. Will fail if the sample
17instance is attached directly to a voice.
1819
20
21
Allegro reference manual al_set_sample_instance_gain(3)