1get_hardware_volume(3) Allegro manual get_hardware_volume(3)
2
3
4
6 get_hardware_volume - Retrieves the hardware sound output volume. Alle‐
7 gro game programming library.
8
10 #include <allegro.h>
11
12
13 void get_hardware_volume(int *digi_volume, int *midi_volume);
14
16 Retrieves the hardware sound output volume, both for digital samples
17 and MIDI playback, as integers from 0 to 255, or -1 if the information
18 is not available. Parameters digi_volume and midi_volume must be valid
19 pointers to int, or NULL if not interested in specific value.
20
21
23 set_hardware_volume(3), get_volume(3)
24
25
26
27Allegro version 4.4.2 get_hardware_volume(3)