1set_volume(3)                   Allegro manual                   set_volume(3)
2
3
4

NAME

6       set_volume  -  Alters the global sound output volume. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void set_volume(int digi_volume, int midi_volume);
14

DESCRIPTION

16       Alters the global sound output volume. Specify volumes for both digital
17       samples  and  MIDI playback, as integers from 0 to 255, or pass a nega‐
18       tive value to leave one of the settings unchanged. Values  bigger  than
19       255  will  be reduced to 255. This routine will not alter the volume of
20       the hardware mixer if it exists (i.e. only  your  application  will  be
21       affected).
22
23

SEE ALSO

25       install_sound(3), set_hardware_volume(3)
26
27
28
29Allegro                          version 4.4.3                   set_volume(3)
Impressum