get_volume(3alleg)

get_volume3alleg

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

Usage

#include <allegro.h>

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

Overview

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.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.