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

NAME

6       get_volume  -  Retrieves  the  global sound output volume. Allegro game
7       programming library.
8

SYNOPSIS

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

DESCRIPTION

16       Retrieves the global sound output volume, both for digital samples  and
17       MIDI  playback,  as  integers from 0 to 255. Parameters digi_volume and
18       midi_volume must be valid pointers to int, or NULL if not interested in
19       specific value.
20
21

SEE ALSO

23       set_volume(3), get_hardware_volume(3)
24
25
26
27Allegro                          version 4.2.2                   get_volume(3)
Impressum