get_volume - Man Page

Retrieves the global sound output volume. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_volume(int *digi_volume, int *midi_volume);

Description

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

See Also

set_volume(3), get_hardware_volume(3)

Referenced By

get_hardware_volume(3).

version 4.4.3 Allegro manual