get_volume(3alleg4)

get_volume3alleg4

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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.