get_volume(3alleg4)
okay so bestie, welcome to get_volume(3alleg4) β this is from the Allegro manual π
π NAME π
get_volume retrieves the global sound output volume. Itβs part of the Allegro game programming library. No cap.
πΈ SYNOPSIS πΈ
#include <allegro.h>
void get_volume(int *digi_volume, int *midi_volume);
π¦ DESCRIPTION π¦
This one retrieves the global sound output volume, both for digital samples and MIDI playback, as integers from 0 to 255. So like, the volume vibes come back in that range, periodt.
The parameters digi_volume and midi_volume must be valid pointers to int, or NULL if youβre not interested in a specific value. So if you donβt care about one of them, you can pass NULL β iconic.
π SEE ALSO π
mwah π this page is from Allegro, version 4.4.3, for get_volume(3alleg4). bye bestie, go slay some sound levels πβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms